Skip to content
Snippets Groups Projects
Commit 949d1945 authored by andres's avatar andres
Browse files

adding execution comments to readme

parent 76721aa2
No related branches found
No related tags found
No related merge requests found
...@@ -60,4 +60,23 @@ pip freeze > ./env_setup/requirements2.txt ...@@ -60,4 +60,23 @@ pip freeze > ./env_setup/requirements2.txt
deactivate deactivate
``` ```
## 3) Run code
Now, with the environment setup, we can run the needed code from the base directory. We recommend using the "fire" library to avoid argparsers and maintain cleaner code.
```bash
###############################
# Getting help with fire
###############################
python 01_train_model.py main --help
###############################
# Executing with default arguments
###############################
python 01_train_model.py main
###############################
# Executing and changing an argument
###############################
python 01_train_model.py main --seed=7
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment