Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TSR_ConceptExtraction
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antonia Holzapfel San Martin
TSR_ConceptExtraction
Commits
949d1945
Commit
949d1945
authored
1 year ago
by
andres
Browse files
Options
Downloads
Patches
Plain Diff
adding execution comments to readme
parent
76721aa2
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+19
-0
19 additions, 0 deletions
README.md
with
19 additions
and
0 deletions
README.md
+
19
−
0
View file @
949d1945
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment