From 6aba5fd13e2d8a6d53b97f112b076e2c9dfb8973 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Wed, 30 Oct 2019 19:51:59 -0600 Subject: [PATCH 1/2] tutorials: remove unnecessary data dir from versioning tut reported by https://discordapp.com/channels/485586884165107732/485596304961962003/639182858426122251 --- static/docs/tutorials/versioning.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/docs/tutorials/versioning.md b/static/docs/tutorials/versioning.md index 7f4c61f2f2..534fd36370 100644 --- a/static/docs/tutorials/versioning.md +++ b/static/docs/tutorials/versioning.md @@ -73,12 +73,10 @@ first model. We'll capture everything with DVC, including the input dataset and model [metrics](/doc/command-reference/metrics). ```dvc -$ mkdir data -$ cd data $ dvc get https://github.com/iterative/dataset-registry \ tutorial/ver/data.zip ... -$ unzip data.zip +$ unzip -q data.zip $ rm -f data.zip ``` From 70f080c49235ff23e41b0bd3aecb1c8fe3df907a Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Thu, 31 Oct 2019 02:58:50 -0400 Subject: [PATCH 2/2] tutorials: quiet `unzip` cmd, remove unnecessary `dvc remove` cmd --- static/docs/tutorials/versioning.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/docs/tutorials/versioning.md b/static/docs/tutorials/versioning.md index 534fd36370..aa7614b494 100644 --- a/static/docs/tutorials/versioning.md +++ b/static/docs/tutorials/versioning.md @@ -189,7 +189,7 @@ Let's imagine that our image dataset doubles in size. The next command extracts $ dvc get https://github.com/iterative/dataset-registry \ tutorial/ver/new-labels.zip ... -$ unzip new-labels.zip +$ unzip -q new-labels.zip $ rm -f new-labels.zip ``` @@ -223,7 +223,6 @@ We will now want to leverage these new labels and retrain the model: ```dvc $ dvc add data -$ dvc remove model.h5.dvc $ python train.py $ dvc add model.h5 ```