Skip to content

utf-8' codec can't decode byte 0xfd in position 97: invalid start byte #36

Description

@Banuu

Hi There,
Thanks for your beautiful work.
I am facing the following issue;
I have tried with other tutorials (different models, different datasets,...) but I keep getting this UnicodeDecodeError and I google the issue to the bones without any success.
Any idea anyone?
Thanks!
In the train detector part,
_ClassTensorHandler(
File "C:\Users\DELL\anaconda3\lib\site-packages\object_detection\data_decoders\tf_example_decoder.py", line 92, in init
name_to_id = label_map_util.get_label_map_dict(
File "C:\Users\DELL\anaconda3\lib\site-packages\object_detection\utils\label_map_util.py", line 201, in get_label_map_dict
label_map = load_labelmap(label_map_path_or_proto)
File "C:\Users\DELL\anaconda3\lib\site-packages\object_detection\utils\label_map_util.py", line 168, in load_labelmap
label_map_string = fid.read()
File "C:\Users\DELL\anaconda3\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 114, in read
self._preread_check()
File "C:\Users\DELL\anaconda3\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 76, in _preread_check
self._read_buf = _pywrap_file_io.BufferedInputStream(
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfd in position 97: invalid start byte

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions