lf_autoencoder_cvpr2018_code
lf_autoencoder_cvpr2018_code copied to clipboard
Using imageio.imread required libfreeimage-dev
Within file_io.py you have a method called read_lightfield_intrinsic(data_folder, comp_name) which uses a function called imageio.imread(fpath), however in order to use that I needed to install libfreeimage-dev as it was giving me the following error:
modeValueError: Could not find a format to read the specified file in mode 'i'
Solution found in https://github.com/imageio/imageio/issues/126#issuecomment-190533041, installed via command:
sudo apt-get install libfreeimage-dev
Reported in case anyone else faces this same issue !