Tensorflow-Object-Detection-API-Train-Model icon indicating copy to clipboard operation
Tensorflow-Object-Detection-API-Train-Model copied to clipboard

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

Open Banuu opened this issue 3 years ago • 1 comments

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

Banuu avatar May 31 '22 11:05 Banuu

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Jul 01 '22 01:07 github-actions[bot]