Closed asispatra closed 7 years ago
visualize() is working if the batch-size <= 64. More than 64 is failing.
That's why I manually set the number of images to be visualize as 8x8 as https://github.com/carpedm20/DCGAN-tensorflow/blob/master/utils.py#L156. You can change this 8, 8 or 64 values in utils.py to make it work for batch_size > 64
Thanks @carpedm20, Yes, that's right. I have also arrived at the same place while I was debugging. I will try to find a way to set these sizes automatically based on batch-size.
The following changes resolve my issue:
image_frame_dim = int(math.ceil(config.batch_size**.5))
save_images(samples, [image_frame_dim, image_frame_dim], './samples/test_arange_%s.png' % (idx))
Fixed by #122
@asispatra can you generate more than 100 images?? Help needed
@rp2017, I have made one PR #216 , I have tested only for "OPTION = 1" as specified in main.py. Please verify for other possible value of OPTION.
Getting the following error during run: