Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions cyclegan/download_dataset.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
@echo off
if not exist datasets mkdir datasets
cd datasets
set FILE=%1

set URL=https://people.eecs.berkeley.edu/~taesung_park/CycleGAN/datasets/%FILE%.zip


for %%x in ( ae_photos
apple2orange
summer2winter_yosemite
horse2zebra
monet2photo
cezanne2photo
ukiyoe2photo
vangogh2photo
maps
cityscapes
cityscapes
facades
iphone2dslr_flower
ae_photos
) do (
echo %%x
if %%x == %FILE% (goto download) else (
echo Dataset Not Found
echo Available datasets are: apple2orange, summer2winter_yosemite, horse2zebra, monet2photo, cezanne2photo, ukiyoe2photo, vangogh2photo, maps, cityscapes, facades, iphone2dslr_flower, ae_photos
)
)
goto exit

:download
echo Downloading %FILE%
wget %URL%
tar -x -f %FILE%.zip
del %FILE%.zip

:exit
cd..