... | ... | @@ -10,7 +10,7 @@ python myModel.py --lr 0.001 --batch_size 32 --epochs 120 |
|
|
```
|
|
|
Also this approach is tedious in case of several hyper-parameters.
|
|
|
|
|
|
Config file allow to define all configuation parameters in only one place. After that dl_setup automatically load and parse the file making all the content available to the user inside the codebase as a normal python dictionary.
|
|
|
Config file allow to define all configuation parameters in only one place. After that dl_setup automatically loads and parses the file making all the content available to the user inside the codebase as a normal python dictionary.
|
|
|
|
|
|
Inside the code:
|
|
|
```python
|
... | ... | |