From c1042dcd06e57494a3ad25f0dd92eba341be026b Mon Sep 17 00:00:00 2001 From: YenChen Lin Date: Fri, 25 Nov 2016 21:56:43 +0800 Subject: [PATCH] Update download dataset --- README.md | 2 +- download_dataset.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f5da99..ee1acc3 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ cd pix2pix-tensorflow ``` - Download the dataset (script borrowed from [torch code](https://github.com/phillipi/pix2pix/blob/master/datasets/download_dataset.sh)): ```bash -bash ./datasets/download_dataset.sh facades +bash ./download_dataset.sh facades ``` - Train the model ```bash diff --git a/download_dataset.sh b/download_dataset.sh index 957bd4e..5cf0fcc 100644 --- a/download_dataset.sh +++ b/download_dataset.sh @@ -1,3 +1,4 @@ +mkdir datasets FILE=$1 URL=https://people.eecs.berkeley.edu/~isola/pix2pix/$FILE.tar TAR_FILE=./datasets/$FILE.tar