Skip to content
This repository has been archived by the owner on Dec 17, 2022. It is now read-only.

Latest commit

 

History

History
50 lines (32 loc) · 1.19 KB

2-shared-reproducibility.md

File metadata and controls

50 lines (32 loc) · 1.19 KB

Shared Reproducibility

DVC remotes provide a location to store arbitrarily large files and directories.

DVC Remote

First, you need to create a new folder on our Google Drive, navigate to the new folder and copy the last part of the URL.

Google Drive

You can now add a DVC remote to our project:

dvc remote add --default myremote gdrive://{COPY PASTED GDRIVE URL}

More info: https://dvc.org/doc/command-reference/remote/add#description


The results of the pipeline can now be shared with others by using dvc push and dvc pull.

dvc push -j 4

You will be prompted for Google Drive credentials the first time you run dvc push/pull.

# Researcher A
# Updates hparam
dvc repro
git add . git commit -m "Updated hparam"
git push && dvc push
# Researcher B
git pull && dvc pull
# Receives changes

Other Remotes

This commands works the same regardless of the remote type. See all the available remotes:

https://dvc.org/doc/command-reference/remote/add#supported-storage-types