Skip to content

Commit 27c4ec0

Browse files
committed
added documentation about the new Cityscapes dataset download policy
1 parent e6c1b29 commit 27c4ec0

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

datasets/download_cyclegan_dataset.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ if [[ $FILE != "ae_photos" && $FILE != "apple2orange" && $FILE != "summer2winter
55
exit 1
66
fi
77

8+
if [[ $FILE == "cityscapes" ]]; then
9+
echo "Due to license issue, we cannot provide the Cityscapes dataset from our repository. Please download the Cityscapes dataset from https://cityscapes-dataset.com, and use the script ./datasets/prepare_cityscapes_dataset.py."
10+
echo "You need to download gtFine_trainvaltest.zip and leftImg8bit_trainvaltest.zip. For further instruction, please read ./datasets/prepare_cityscapes_dataset.py"
11+
exit 1
12+
fi
13+
814
echo "Specified [$FILE]"
915
URL=https://people.eecs.berkeley.edu/~taesung_park/CycleGAN/datasets/$FILE.zip
1016
ZIP_FILE=./datasets/$FILE.zip

datasets/download_pix2pix_dataset.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ if [[ $FILE != "cityscapes" && $FILE != "night2day" && $FILE != "edges2handbags"
55
exit 1
66
fi
77

8+
if [[ $FILE == "cityscapes" ]]; then
9+
echo "Due to license issue, we cannot provide the Cityscapes dataset from our repository. Please download the Cityscapes dataset from https://cityscapes-dataset.com, and use the script ./datasets/prepare_cityscapes_dataset.py."
10+
echo "You need to download gtFine_trainvaltest.zip and leftImg8bit_trainvaltest.zip. For further instruction, please read ./datasets/prepare_cityscapes_dataset.py"
11+
exit 1
12+
fi
13+
814
echo "Specified [$FILE]"
915

1016
URL=http://efrosgans.eecs.berkeley.edu/pix2pix/datasets/$FILE.tar.gz

docs/datasets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Download the CycleGAN datasets using the following script. Some of the datasets
66
bash ./datasets/download_cyclegan_dataset.sh dataset_name
77
```
88
- `facades`: 400 images from the [CMP Facades dataset](http://cmp.felk.cvut.cz/~tylecr1/facade). [[Citation](../datasets/bibtex/facades.tex)]
9-
- `cityscapes`: 2975 images from the [Cityscapes training set](https://www.cityscapes-dataset.com). [[Citation](../datasets/bibtex/cityscapes.tex)]
9+
- `cityscapes`: 2975 images from the [Cityscapes training set](https://www.cityscapes-dataset.com). [[Citation](../datasets/bibtex/cityscapes.tex)]. Note: Due to license issue, we cannot directly provide the Cityscapes dataset. Please download the Cityscapes dataset from [https://cityscapes-dataset.com](https://cityscapes-dataset.com) and use the script `./datasets/prepare_cityscapes_dataset.py`.
1010
- `maps`: 1096 training images scraped from Google Maps.
1111
- `horse2zebra`: 939 horse images and 1177 zebra images downloaded from [ImageNet](http://www.image-net.org) using keywords `wild horse` and `zebra`
1212
- `apple2orange`: 996 apple images and 1020 orange images downloaded from [ImageNet](http://www.image-net.org) using keywords `apple` and `navel orange`.

0 commit comments

Comments
 (0)