Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training and Test generating black squares #384

Open
anushkasw opened this issue Jul 19, 2020 · 2 comments
Open

Training and Test generating black squares #384

anushkasw opened this issue Jul 19, 2020 · 2 comments

Comments

@anushkasw
Copy link

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?

@wangzizhe
Copy link

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

@wangzizhe
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants