├── .autoenv.zsh ├── .github └── workflows │ └── ci-testing.yml ├── .gitignore ├── LICENSE ├── README.md ├── configs ├── data │ ├── cifar.yaml │ └── mnist.yaml ├── defaults.yaml ├── model │ ├── autoencoder.yaml │ └── classifier.yaml └── optim │ ├── adam.yaml │ └── sgd.yaml ├── environment.yaml ├── main.py ├── project ├── __init__.py ├── data │ ├── __init__.py │ ├── cifar.py │ └── mnist.py └── model │ ├── __init__.py │ ├── autoencoder.py │ ├── classifier.py │ └── lit_image_classifier.py ├── setup.cfg ├── setup.py └── tests ├── __init__.py ├── requirements.txt └── test_classifier.py /.autoenv.zsh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/.autoenv.zsh -------------------------------------------------------------------------------- /.github/workflows/ci-testing.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/.github/workflows/ci-testing.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/README.md -------------------------------------------------------------------------------- /configs/data/cifar.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/configs/data/cifar.yaml -------------------------------------------------------------------------------- /configs/data/mnist.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/configs/data/mnist.yaml -------------------------------------------------------------------------------- /configs/defaults.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/configs/defaults.yaml -------------------------------------------------------------------------------- /configs/model/autoencoder.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/configs/model/autoencoder.yaml -------------------------------------------------------------------------------- /configs/model/classifier.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/configs/model/classifier.yaml -------------------------------------------------------------------------------- /configs/optim/adam.yaml: -------------------------------------------------------------------------------- 1 | _target_: torch.optim.Adam 2 | lr: 1e-3 3 | 4 | -------------------------------------------------------------------------------- /configs/optim/sgd.yaml: -------------------------------------------------------------------------------- 1 | _target_: torch.optim.SGD 2 | lr: 1e-3 3 | momentum: 0.99 4 | 5 | -------------------------------------------------------------------------------- /environment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/environment.yaml -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/main.py -------------------------------------------------------------------------------- /project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/project/data/__init__.py -------------------------------------------------------------------------------- /project/data/cifar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/project/data/cifar.py -------------------------------------------------------------------------------- /project/data/mnist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/project/data/mnist.py -------------------------------------------------------------------------------- /project/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/model/autoencoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/project/model/autoencoder.py -------------------------------------------------------------------------------- /project/model/classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/project/model/classifier.py -------------------------------------------------------------------------------- /project/model/lit_image_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/project/model/lit_image_classifier.py -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/tests/requirements.txt -------------------------------------------------------------------------------- /tests/test_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkhphuc/lightning-hydra-template/HEAD/tests/test_classifier.py --------------------------------------------------------------------------------