Python Forum
tf.gfile.FastGFile error unicode ( japanese characters ) - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: tf.gfile.FastGFile error unicode ( japanese characters ) (/thread-10098.html)



tf.gfile.FastGFile error unicode ( japanese characters ) - majinbuu - May-12-2018

hi bro!!!

I have tried 2 cases: Normal characters vs Japanese characters
Normal characters can be run but Japanese characters not working.

image_data = tf.gfile.FastGFile(filename, 'rb').read()

example imagename: myname-ナガセ ヒロトシ.jpg

Please help!

Tks


RE: tf.gfile.FastGFile error unicode ( japanese characters ) - micseydel - May-12-2018

Could you elaborate on "not working"? Do you get a stacktrace? What OS are you using?


RE: tf.gfile.FastGFile error unicode ( japanese characters ) - majinbuu - May-13-2018

LINUX