You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "tf.py", line 100, in
tf.app.run()
File "C:\Users\Mostalk\AppData\Roaming\Python\Python38\site-packages\tensorflow\python\platform\app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "C:\Users\Mostalk\AppData\Roaming\Python\Python38\site-packages\absl\app.py", line 299, in run
_run_main(main, args)
File "C:\Users\Mostalk\AppData\Roaming\Python\Python38\site-packages\absl\app.py", line 250, in _run_main
sys.exit(main(argv))
File "tf.py", line 91, in main
tf_example = create_tf_example(group, path)
File "tf.py", line 46, in create_tf_example
encoded_jpg = fid.read()
File "C:\Users\Mostalk\AppData\Roaming\Python\Python38\site-packages\tensorflow\python\lib\io\file_io.py", line 116, in read
self._preread_check()
File "C:\Users\Mostalk\AppData\Roaming\Python\Python38\site-packages\tensorflow\python\lib\io\file_io.py", line 78, in _preread_check
self._read_buf = _pywrap_file_io.BufferedInputStream(
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcd in position 123: invalid continuation byte
The text was updated successfully, but these errors were encountered:
It was actually a typo error of the command for me, I removed unnecessary spaces and tried to write paths with «\» instead of «/» (or reversed, I don’t really remember), and it worked !
System information
the issue happens on mobile device:
Traceback (most recent call last):
File "tf.py", line 100, in
tf.app.run()
File "C:\Users\Mostalk\AppData\Roaming\Python\Python38\site-packages\tensorflow\python\platform\app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "C:\Users\Mostalk\AppData\Roaming\Python\Python38\site-packages\absl\app.py", line 299, in run
_run_main(main, args)
File "C:\Users\Mostalk\AppData\Roaming\Python\Python38\site-packages\absl\app.py", line 250, in _run_main
sys.exit(main(argv))
File "tf.py", line 91, in main
tf_example = create_tf_example(group, path)
File "tf.py", line 46, in create_tf_example
encoded_jpg = fid.read()
File "C:\Users\Mostalk\AppData\Roaming\Python\Python38\site-packages\tensorflow\python\lib\io\file_io.py", line 116, in read
self._preread_check()
File "C:\Users\Mostalk\AppData\Roaming\Python\Python38\site-packages\tensorflow\python\lib\io\file_io.py", line 78, in _preread_check
self._read_buf = _pywrap_file_io.BufferedInputStream(
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcd in position 123: invalid continuation byte
The text was updated successfully, but these errors were encountered: