Skip to content

Commit

Permalink
Make our datasets available for download
Browse files Browse the repository at this point in the history
  • Loading branch information
AAnoosheh committed Dec 23, 2017
1 parent 67ec405 commit e0f85a0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ datasets/
checkpoints/
results/
*.png
!img/*.png
*/**/__pycache__
*/*.pyc
*/**/*.pyc
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

This is our ongoing PyTorch implementation for ComboGAN.
Code was written by [Asha Anoosheh](https://github.com/aanoosheh) (built upon [CycleGAN](https://github.com/junyanz/CycleGAN))
(Datasets will be available soon!)


#### [[ComboGAN Paper]](https://arxiv.org/pdf/1712.06909.pdf)
Expand Down Expand Up @@ -48,7 +47,9 @@ cd ComboGAN
```

### ComboGAN training
Example scripts can be found in the `scripts` directory.
Our ready datasets can be downloaded using `./datasets/download_dataset.sh <dataset_name>`.

Example running scripts can be found in the `scripts` directory.

- Train a model:
```
Expand Down
12 changes: 12 additions & 0 deletions datasets/download_dataset.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FILE=${1}

if [[ $FILE != "alps_seasons" && $FILE != "painters_14" ]]; then
echo "Currently available datasets are: alps_seasons and painters_14"
exit 1
fi

URL=https://data.vision.ee.ethz.ch/cvl/combogan/$FILE.zip
ZIP_FILE=./datasets/$FILE.zip
wget -N $URL -O $ZIP_FILE
unzip $ZIP_FILE -d ./datasets/
rm $ZIP_FILE

0 comments on commit e0f85a0

Please sign in to comment.