ML Experiments
Here we use three repositories
- Dataset for training
- A base model for transfer learning of fine-tuning
- Experiment output. Versioned by the timestamp of an experiment.
In this use case, we use get
and put
commands to simplify the commands for programmatic use cases.
- Clone the training code
git clone https://github.com/my-org/my-ml-project.git cd my-ml-project
- Download the dataset and the base model
avc get -o dataset/ s3://mybucket/datasets/flowers-classification@v0.1.0 avc get -o base/ s3://mybucket/models/my-base-model@v0.3.0
- Train and output your training result (trained model, experiment log, hyperparams, etc) to
artifacts/
folderpython ./train.py
- Upload the artifacts
avc put artifacts/ s3://mybucket/experiments/project1@202220303-100504