A set of hackable helpers for python-only (deep learning) experiment scripts
- Track local dependencies of your experiment script. For reproducibility, it won't run your experiment until those changes are committed via git.
- Store experiment information into MongoDB after finishing.
- Upload experiment information to Google Sheets if you have OAuth2 credentials for Google API.
- Arguments
- Artifacts
- Purpose
- Source files
- Start/End/Elapsed Time
- Stdout
You will need
- Git
- MongoDB (you can install without root)
- Python 3
- (Optional) OAuth Credentials (tutorial)
There are some assumptions for the .py
we can track.
- Must have a function named
get_args
, which returns an object likeArgumentParser.parse_args()
returns. - Must have a function named
main
, which take the output ofget_args
as the only argument and return the experiment artifacts.
You can check out example for more detail.
pip install -r requirements.txt
Setup ezexps.ini
for your project, check out ezexps.ini.
exps.py
gsheet_uploader.py
local_dependency.py
cd example
python ../exps.py 'lr=0.1 test' main.py --lr 0.1 --epochs 1
- A task queuer: will check if gpu is available and assign experiments
- A daemon validation tool