Skip to content

Commit 07abd2b

Browse files
committed
argument error. fix #158
1 parent 9f8f6a6 commit 07abd2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Tensorflow implementation of [Deep Convolutional Generative Adversarial Networks
2929

3030
First, download dataset with:
3131

32-
$ python download.py --datasets mnist celebA
32+
$ python download.py mnist celebA
3333

3434
To train a model with downloaded dataset:
3535

Diff for: download.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def prepare_data_dir(path = './data'):
172172
args = parser.parse_args()
173173
prepare_data_dir()
174174

175-
if 'celebA' in args.datasets:
175+
if any(name in args.datasets for name in ['CelebA', 'celebA', 'celebA']):
176176
download_celeb_a('./data')
177177
if 'lsun' in args.datasets:
178178
download_lsun('./data')

0 commit comments

Comments
 (0)