Machine Learning 的 CI/CD
Ravi Bhadauria
Machine Learning Engineer
dvc remote add 指令設定 remotedvc 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 旗標設定預設 remotedvc remote add -d mylocalremote /tmp/dvc
.dvc/config 的 core 區段[core]
remote = mylocalremote
傳輸資料的指令
dvc push <target>dvc pull <target> 類似 git push 與 git pull
.dvc,不是 DVCdvc push data.csvdvc push-r 旗標覆寫預設 remotedvc 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
Machine Learning 的 CI/CD