small improvements
This commit is contained in:
1 parent
490c3d6cc7
commit
5ff284ec42
7 files changed
+48
-34
No files matched your search
@@ -1,7 +1,8 @@
|
||||
## Deep learning project template
|
||||
This is my starting template and pipeline for most deep learning projects 🔥<br>
|
||||
This is my starting template and pipeline for most deep learning projects.<br>
|
||||
Built with <b>PyTorch Lightning</b>, <b>Hydra</b> and <b>Weights&Biases</b>.<br>
|
||||
It's supposed to be enchancement/expansion on original [deep-learninig-project-template](https://github.com/PyTorchLightning/deep-learning-project-template) repository.<br>
|
||||
|
||||
The goal is to:
|
||||
- structure ML code the same so that work can easily be extended and replicated
|
||||
- allow for quick and efficient experimentation process thanks to automating pipeline with config files
|
||||
@@ -72,7 +73,7 @@ The directory structure of new project looks like this:
|
||||
├── LICENSE <- Project license
|
||||
├── README.md <- Readme
|
||||
├── conda_env.yaml <- File for installing conda environment
|
||||
├── requirements.txt <- List of python dependencies
|
||||
├── requirements.txt <- File for installing python dependencies
|
||||
└── setup.py <- File for installing project as a package
|
||||
```
|
||||
<br>
|
||||
@@ -83,7 +84,7 @@ The directory structure of new project looks like this:
|
||||
# specify here default training configuration
|
||||
defaults:
|
||||
- trainer: default_trainer.yaml # choose trainer from 'configs/trainer/' folder
|
||||
- model: mnist_model.yaml # choose model from 'configs/model/' folder
|
||||
- model: mnist_model.yaml # choose model from 'configs/model/' folder
|
||||
- datamodule: mnist_datamodule.yaml # choose datamodule from 'configs/datamodule/' folder
|
||||
- optimizer: adam.yaml # choose optimizer from 'configs/optimizer/' folder
|
||||
- seeds: default_seeds.yaml # set this to null if you don't want to use seeds
|
||||
@@ -127,7 +128,7 @@ Example experiment configuration:
|
||||
```yaml
|
||||
defaults:
|
||||
- override /trainer: default_trainer.yaml # choose trainer from 'configs/trainer/'
|
||||
- override /model: mnist_model.yaml # choose model from 'configs/model/'
|
||||
- override /model: mnist_model.yaml # choose model from 'configs/model/'
|
||||
- override /datamodule: mnist_datamodule.yaml # choose datamodule from 'configs/datamodule/'
|
||||
- override /optimizer: adam.yaml # choose optimizer from 'configs/optimizer/'
|
||||
- override /seeds: default_seeds.yaml # choose seeds from 'configs/seeds/'
|
||||
@@ -186,7 +187,7 @@ Logs are created automatically with the following structure:
|
||||
│ │ └── ...
|
||||
│ │
|
||||
│ ├── multiruns # Folder for logs generated from sweeps
|
||||
│ │ ├── 2021-02-15_16-50-49 # Date and hour of executing run
|
||||
│ │ ├── 2021-02-15_16-50-49 # Date and hour of executing sweep
|
||||
│ │ │ ├── 0 # Job number
|
||||
│ │ │ │ ├── .hydra # Hydra logs
|
||||
│ │ │ │ ├── wandb # Weights&Biases logs
|
||||
|
||||
Reference in new issue
Block a user