Skip to main content

Add ons for pytorch lightning

Project description

Lightning AddOns

Pip!!

  • Now you can directly do a pip install
  • pip install lightningaddon

Useful functions

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

lightningaddon-0.0.2-py3-none-any.whl (10.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page