unofficial python version of holoencoder (from "High-speed computer-generated holography using an autoencoder-based deep neural network"). pytorch is used.
Hi,
I get this error message when running holoencoder4kload.py:
"ValueError: Since image dtype is floating point, you must specify the data_range parameter. Please read the documentation carefully (including the note). It is recommended that you always specify the data_range anyway."
It seems this instruction causes error: ssimm = ssim(target_amp, final)
Hi,
Thanks for raising this issue. It seems that the new version of the skimage must manually specify data_ range.
Use: ssim(img_a, img_b,data_range=1)
Hi, I get this error message when running holoencoder4kload.py: "ValueError: Since image dtype is floating point, you must specify the data_range parameter. Please read the documentation carefully (including the note). It is recommended that you always specify the data_range anyway."
It seems this instruction causes error: ssimm = ssim(target_amp, final)