Metadata-Version: 2.1
Name: pl_utils
Version: 0.0.1
Summary: utils for pytorch lightning
Home-page: https://github.com/ayasyrev/pl_utils/tree/master/
Author: Andrei Yasyrev
Author-email: a.yasyrev@gmail.com
License: Apache Software License 2.0
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  
        
        ```python
        from pl_utils.imagenette_datamodule import ImagenetteDataModule, ImageWoofDataModule
        ```
        
        ```python
        imagenette_datamodule = ImagenetteDataModule(data_dir=DATADIR)
        ```
        
        ```python
        imagenette_datamodule.setup()
        ```
        
        ```python
        len(imagenette_datamodule.train_dataset), len(imagenette_datamodule.val_dataset)
        ```
        
        
        
        
            (9469, 3925)
        
        
        
        ```python
        woof_datamodule = ImageWoofDataModule(data_dir=DATADIR)
        ```
        
        ```python
        woof_datamodule.setup()
        ```
        
        ```python
        len(woof_datamodule.train_dataset), len(woof_datamodule.val_dataset)
        ```
        
        
        
        
            (9025, 3929)
        
        
        
Keywords: utils pytorch lightning
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
Description-Content-Type: text/markdown
