Fix string to bytes conversion in deeplab data input. #3885
The current code does not work in py2 since the input string could contain unicode string, and default encoding in ASCII in py2. Change the method to only do encode() which convert string to byte array when running python3.
Showing
Please register or sign in to comment