Skip to content

Tutorial: Automate DVC experiments helps to automate your Machine Learning experiments, manage metrics, reports and models versions

License

Notifications You must be signed in to change notification settings

mlrepa/dvc-3-automate-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tutorial: Automate DVC experiments (lesson 3)

Machine Learning experiments reproducibility and engineering with DVC // ML REPA School

1. Clone this repository

git https://github.com/mlrepa/dvc-3-automate-experiments.git
cd dvc-3-automate-experiments

2. Create and activate virtual environment

Create virtual environment named dvc (you may use other name)

python3 -m venv dvc-venv
echo "export PYTHONPATH=$PWD" >> dvc-venv/bin/activate
source dvc-venv/bin/activate

3. Install python libraries

pip install -r requirements.txt

4. Add Virtual Environment to Jupyter Notebook

python -m ipykernel install --user --name=dvc-venv

5. Configure ToC for jupyter notebook (optional)

sudo jupyter contrib nbextension install
jupyter nbextension enable toc2/main

6. Run and follow Jupyter Notebook dvc-3-automate-experiments.ipynb for instructions:

jupyter notebook