0. Repo setup (already run for you)
git clone git@github.com:daavoo/model-pyday-bcn-2021.git
cd model-pyday-bcn-2021
pip install -r requirements.txt
dvc init
You should be able to follow all the steps bellow without leaving the browser.
-
Create folder on Google Drive.
-
Copy the URL.
Add remote to `.dvc/config`
[core]
remote = myremote
['remote "myremote"']
url = gdrive://{YOUR_URL}
Create `secrets.GDRIVE_CREDENTIALS_DATA`
-
Get the credentials: https://colab.research.google.com/drive/1Xe96hFDCrzL-Vt4Zj-cVHOxUgu-fyuBW
-
Add new secret to GitHub repo.
- Go to
Actions
->Import Dataset
->Run Workflow
.
-
Edit
params.yaml
from the GitHub Interface. -
Change
learning_rate
. -
Select
Create a new branch for this commit and start a pull request
- Update
Train
workflow to run on cron schedule.
-
Access studio view: https://dvc.org/doc/studio/get-started
-
Run the pipeline editing the params: https://dvc.org/doc/studio/user-guide/run-experiments