timsainb/Tensorflow-MultiGPU-VAE-GAN

Normalizing the images doesn't work

Opened this issue · 2 comments

Normalizing the dataset to values in range [0,1], done by this line:
faces = (faces/255.)
doesn't seem to work properly, at least not with the visualizations.
Is it meant to somehow improve the training process?

Hi Alex,
Normalization/conversion of inputs to float is necessary before you feed the data into the model at least at some point. The model's output are squashed with a sigmoid between 0-1. What about normalization is not working properly?

Visualizing the images with matplotlib - after normalization I would get fully black images (which makes kind of sense).