Skip to main content

utils for pytorch lightning

Project description

PL-utils

Utils for pytorch-lightning.

Collection of utils - datamodules, callbacks, models etc for pytorch-lighting.

Datamodules.

Imagenette.

Imagenette dataset Datamodule.
Subset of ImageNet.
https://github.com/fastai/imagenette

from pl_utils.imagenette_datamodule import ImagenetteDataModule, ImageWoofDataModule
imagenette_datamodule = ImagenetteDataModule(data_dir=DATADIR)
imagenette_datamodule.setup()
len(imagenette_datamodule.train_dataset), len(imagenette_datamodule.val_dataset)
(9469, 3925)
woof_datamodule = ImageWoofDataModule(data_dir=DATADIR)
woof_datamodule.setup()
len(woof_datamodule.train_dataset), len(woof_datamodule.val_dataset)
(9025, 3929)

Project details


Download files

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

Source Distribution

pl_utils-0.0.1.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pl_utils-0.0.1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file pl_utils-0.0.1.tar.gz.

File metadata

  • Download URL: pl_utils-0.0.1.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0.post20201103 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for pl_utils-0.0.1.tar.gz
Algorithm Hash digest
SHA256 07cddbd49437bdd4b99fa331a03fadb2c1222cbc98d6502c547465eab8c88260
MD5 b3c21001621934d16d36fdad1474782c
BLAKE2b-256 23813e174242625b654846f5e921f9d1b17071adeba9428203dd3b3910308773

See more details on using hashes here.

File details

Details for the file pl_utils-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pl_utils-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0.post20201103 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for pl_utils-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 43e76f31bff12f11b528a35f82775de0b8a4bdff79d89292bafadff0ce0267e8
MD5 c173e42e6012c547a7831163cd1d0b10
BLAKE2b-256 c101dca8041502b00956fa0ab1b42ee57928cce027ba041768d9b74d7cadf142

See more details on using hashes here.

Supported by

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