DCGAN-tensorflow icon indicating copy to clipboard operation
DCGAN-tensorflow copied to clipboard

Training and Test generating black squares

Open anushkasw opened this issue 4 years ago • 2 comments

After training the model for 25 epochs on CelebA dataset with visualize=True, I am getting all black images in the checkpoint folder. I changed the scipy.misc.imsave function to its imageio alternative. Anybody else facing the same issue?

anushkasw avatar Jul 19 '20 16:07 anushkasw

hi, did you solved this problem? I'm facing the same issue, every pictures i generated is just a black image.

wangzizhe avatar May 04 '21 13:05 wangzizhe

after I changed line 86 in utils.py to return cv2.imwrite(path, image*255) the problem is solved, image*255 is important.

wangzizhe avatar May 13 '21 10:05 wangzizhe