SKTBrain / DiscoGAN

Official implementation of "Learning to Discover Cross-Domain Relations with Generative Adversarial Networks"
773 stars 171 forks source link

Error with 1.2.0 Tf version and python 3 #11

Open pudkeaayush opened 7 years ago

pudkeaayush commented 7 years ago

Hello, Currently getting the following error: File "./discogan/image_translation.py", line 314, in main() File "./discogan/image_translation.py", line 131, in main test_B = read_images( test_style_B, 'B', args.image_size ) File "/Users/haosun/Raju/DiscoGAN-master/discogan/dataset.py", line 53, in read_images images = np.stack( images ) File "/Users/haosun/Raju/anaconda/lib/python3.6/site-packages/numpy/core/shape_base.py", line 350, in stack raise ValueError('need at least one array to stack') ValueError: need at least one array to stack

after downloading the dataset and running the following command: python ./discogan/image_translation.py --task_name='edges2handbags'.

Please help to check.

Thanks