rkjones4 / GANGogh

Using GANs to create Art
358 stars 123 forks source link

GANgogh.py has difficulty saving a batch of ground-truth samples #5

Closed ghost closed 6 years ago

ghost commented 6 years ago

Running GANgogh.py returns:

FileNotFoundError: [Errno 2] No such file or directory: 'generated/samples_groundtruth.png'

This is caused by line 353 in GANgogh.py:

lib.save_images.save_images(_x_r.reshape((BATCH_SIZE, 3, 64, 64)), 'generated/samples_groundtruth.png')

Tried using scipy.misc.imsave instead of lib.save_images.save_images but that didn't work. Ideas?

ghost commented 6 years ago

Update: Created a folder "generated" and changed line 353 to the full file path and it worked.