Lightning AddOns
- Additional functionality for Pytorch Lightning
Pip!!
- Now you can directly do a pip install
- pip install lightningaddon
Useful functions
- Please check DOCUMENTATION
- For some useful functions check use
Features (in progress)
- The documentation is in progress and of course, many more features are on the way.
General
- compose multiple functions on data
- time any function
- parallelly run any function on a list
- download from url
Torch related
- model vis using hiddenlayer
- clear gpu memory easily
- flatten
- get a histogram
- find modules with a condition
- check if linear layer
- seed everything
- freeze/unfreeze parts of a model
- count paramemeters and display tables
- count paramemeter state (frozen/unfrozen)
- easy pil<->tensor
- open image -> resize -> convert to tensor
Models
- xresnet (all variants)
Requirements
- PyTorchLightning. (This will install pretty much everything else)
- einops
FAQ
- Why? - Well, lightning is an awesome library but there are some things I wanted globally so I decided to make an "Add Ons" package.
- Why not contribute instead? - I might once this package does significant extra stuff
Thank you
- A huge thank you to Jeremy Howard and fastai. Many of these tricks are inspired by the amazing work done there.
Metadata
Release files for lightningaddon 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lightningaddon-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for lightningaddon-0.0.2-py3-none-any.whl |
Release files / lightningaddon-0.0.2-py3-none-any.whl
| Download URL | lightningaddon-0.0.2-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c45814ba7a163d57337de0265c0cca9c43136aa0f54754619bccc6ff7370efdc
|
|
BLAKE2b-256 checksum How to use checksums |
96de6c739a29920af18d8f09668e9deebcd7b626ec3b3fdeb97bc98d58660b1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Security for lightningaddon 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.