Update README.md
This commit is contained in:
1 parent
f8dd90ec7d
commit
85688007b9
1 file changed
+11
-11
@@ -4,17 +4,17 @@ Click on <b>"Use this template"</b> button above to initialize new repository.<b
|
|||||||
|
|
||||||
## Features
|
## Features
|
||||||
- Predefined folder structure
|
- Predefined folder structure
|
||||||
- Automates loading of PyTorch Lightning modules - you only need to create model and datamodule and specify them in configuration files
|
- Automates training with PyTorch Lightning - you only need to create model and datamodule and specify them in configuration files
|
||||||
- All advantages of Hydra:
|
- All advantages of Hydra:
|
||||||
- Main config file contains default configuration used when executing command `python train.py` ([config.yaml](project/configs/config.yaml))
|
- Main config file contains default training configuration ([config.yaml](project/configs/config.yaml))
|
||||||
- Storing many experiment configurations in a convenient way - experiments override chosen parameters from default configuration ([configs/experiment](project/configs/experiment))
|
- Storing many experiment configurations in a convenient way - experiments override chosen parameters from default training configuration ([configs/experiment](project/configs/experiment))
|
||||||
- Composing configuration files out of other configuration files
|
- Composing configuration files out of other configuration files
|
||||||
- Scheduling execution of many experiments
|
- Scheduling execution of many experiments
|
||||||
- Overriding any config parameter from command line
|
- Overriding any config parameter from command line
|
||||||
- Command line tab completion
|
- Command line tab completion
|
||||||
- Logging history of all executed runs
|
- Logging history of all executed runs
|
||||||
- Weights&Biases integration:
|
- Weights&Biases integration:
|
||||||
- Automatically stores all relevant code, configs and model checkpoints in Weights&Biases cloud
|
- Automatically stores all code files, configs and model checkpoints in Weights&Biases cloud
|
||||||
- Useful callbacks ([wandb_callbacks.py](project/src/callbacks/wandb_callbacks.py))
|
- Useful callbacks ([wandb_callbacks.py](project/src/callbacks/wandb_callbacks.py))
|
||||||
- ~~Hyperparameter search with Weights&Biases sweeps ([execute_sweep.py](project/template_utils/execute_sweep.py))~~ (TODO)
|
- ~~Hyperparameter search with Weights&Biases sweeps ([execute_sweep.py](project/template_utils/execute_sweep.py))~~ (TODO)
|
||||||
- Built in requirements ([requirements.txt](requirements.txt))
|
- Built in requirements ([requirements.txt](requirements.txt))
|
||||||
@@ -120,13 +120,13 @@ You can store many experiment configurations in this folder.<br>
|
|||||||
Example experiment configuration:
|
Example experiment configuration:
|
||||||
```yaml
|
```yaml
|
||||||
defaults:
|
defaults:
|
||||||
- override /trainer: default_trainer.yaml # choose trainer from 'configs/trainer/' folder
|
- override /trainer: default_trainer.yaml # choose trainer from 'configs/trainer/'
|
||||||
- override /model: simple_mnist_classifier.yaml # choose model from 'configs/model/' folder
|
- override /model: simple_mnist_classifier.yaml # choose model from 'configs/model/'
|
||||||
- override /datamodule: mnist_datamodule.yaml # choose datamodule from 'configs/datamodule/' folder
|
- override /datamodule: mnist_datamodule.yaml # choose datamodule from 'configs/datamodule/'
|
||||||
- override /optimizer: adam.yaml # choose optimizer from 'configs/optimizer/' folder
|
- override /optimizer: adam.yaml # choose optimizer from 'configs/optimizer/'
|
||||||
- override /seeds: default_seeds.yaml # choose seeds from 'configs/seeds/' folder
|
- override /seeds: default_seeds.yaml # choose seeds from 'configs/seeds/'
|
||||||
- override /callbacks: default_callbacks.yaml # choose callback set from 'configs/callbacks/' folder
|
- override /callbacks: default_callbacks.yaml # choose callback set from 'configs/callbacks/'
|
||||||
- override /logger: null # choose logger from 'configs/logger/' folder
|
- override /logger: null # choose logger from 'configs/logger/'
|
||||||
|
|
||||||
# all parameters below will be merged with parameters from default configurations set above
|
# all parameters below will be merged with parameters from default configurations set above
|
||||||
# this allows you to overwrite only specified parameters
|
# this allows you to overwrite only specified parameters
|
||||||
|
|||||||
Reference in new issue
Block a user