- pip install dvc
- pip install dvc-gdrive
- git init
- dvc init
- dvc add data/MNIST #Replace MNIST with the name of your data folder
- dvc add data/.gitignore data/MNIST.dvc
- git commit -m "Add data"
- dvc remote add -d storage drive://1XEbi8csizyjywDsHB-CPsIpeWd3IMNFL #Replace your google drive URL (see image above)
- git commit .dvc/config -m "Configure remote storage"
- dvc push
- dvc add data/MNIST
- git add data/MNIST.dvc
- git commit -m "Modify data"
- dvc push
- dvc pull
- git log --oneline
- git checkout "id" data/MNIST.dvc
- dvc checkout
- pip install wandb
- wandb.login()
- wandb.init(project="cmput469-demo", config=args)
- wandb.log({"Train/Loss": avg_loss}, step=epoch)
- wandb.watch(model, log_graph=True)