spark-deep-learning
spark-deep-learning copied to clipboard
unable to read images using readImages method on windows
Hi, I have installed spark 2.1.0, python 3.5 on windows. Installed tensorflow-gpu, keras and other packages required for image processing. Copied images from linux box to windows box. However, reading images using "readImages" throws error as follows:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte
when I run the python command on windows to get default encoding, it shows as "cp1252". I am suspecting that the code in readImages is assuming that the image is with utf-8 encoding, but it is infact encoded with cp1252. Could you please suggest a work around for this. ?