imatge-upc / salgan

SalGAN: Visual Saliency Prediction with Generative Adversarial Networks
https://imatge-upc.github.io/salgan
MIT License
368 stars 106 forks source link

Load Binary Images instead of matfiles in dataRepresentation.py #11

Closed saeedizadi closed 7 years ago

saeedizadi commented 7 years ago

Hello, I am going to load my own binary masks as the ground truths in the _01-datapreprocessing.py file. Should I normalize the image values in the range of [0,1] manually or the code works based on [0-255] values?

Thanks

junting commented 7 years ago

Hello @saeedizadi ,

The code works with image within the range of [0,255] .

Best, Junting