面向机器学习的 CI/CD
Ravi Bhadauria
Machine Learning Engineer
dvc remote add 设置远程dvc remote add myAWSremote s3://mybucket
dvc remote modify 做自定义dvc remote modify myAWSremote connect_timeout 300
.dvc/config 的变更 ['remote "myAWSremote"']
url = s3://mybucket
connect_timeout = 300
dvc remote add mylocalremote /tmp/dvc
-d 标记设置默认远程dvc remote add -d mylocalremote /tmp/dvc
.dvc/config 的 core 段中指定[core]
remote = mylocalremote
传输数据的命令
dvc push <target>dvc pull <target> 类似于 git push 和 git pull
.dvc 由 Git 跟踪,而非 DVCdvc push data.csvdvc push-r 覆盖默认远程dvc push -r myAWSremote data.csv
dvc add /path/to/data/datafile
.dvc 文件提交到 Gitgit add /path/to/datafile.dvc
git commit /path/to/datafile.dvc -m "Dataset updates"
git push origin main
dvc push
面向机器学习的 CI/CD