Traceback (most recent call last):
File "F:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 62, in
label_map_dict = label_map_util.get_label_map_dict(label_map)
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\object_detection\utils\label_map_util.py", line 164, in get_label_map_dict
label_map = load_labelmap(label_map_path)
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\object_detection\utils\label_map_util.py", line 133, in load_labelmap
label_map_string = fid.read()
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\tensorflow\python\lib\io\file_io.py", line 118, in read
self._preread_check()
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\tensorflow\python\lib\io\file_io.py", line 80, in _preread_check
self._read_buf = _pywrap_file_io.BufferedInputStream(
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
Traceback (most recent call last): File "F:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 62, in
label_map_dict = label_map_util.get_label_map_dict(label_map)
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\object_detection\utils\label_map_util.py", line 164, in get_label_map_dict
label_map = load_labelmap(label_map_path)
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\object_detection\utils\label_map_util.py", line 133, in load_labelmap
label_map_string = fid.read()
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\tensorflow\python\lib\io\file_io.py", line 118, in read
self._preread_check()
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\tensorflow\python\lib\io\file_io.py", line 80, in _preread_check
self._read_buf = _pywrap_file_io.BufferedInputStream(
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
Invoked with: item { name: "Hello" id: 1 } item { name: "Yes" id: 2 } item { name: "No" id: 3 } item { name: "Thanks" id: 4 } item { name: "Please" id: 5 } , 524288 Traceback (most recent call last): File "F:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 62, in
label_map_dict = label_map_util.get_label_map_dict(label_map)
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\object_detection\utils\label_map_util.py", line 164, in get_label_map_dict
label_map = load_labelmap(label_map_path)
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\object_detection\utils\label_map_util.py", line 133, in load_labelmap
label_map_string = fid.read()
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\tensorflow\python\lib\io\file_io.py", line 118, in read
self._preread_check()
File "C:\Users\DELL\AppData\Roaming\Python\Python39\site-packages\tensorflow\python\lib\io\file_io.py", line 80, in _preread_check
self._read_buf = _pywrap_file_io.BufferedInputStream(
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
Invoked with: item { name: "Hello" id: 1 } item { name: "Yes" id: 2 } item { name: "No" id: 3 } item { name: "Thanks" id: 4 } item { name: "Please" id: 5 } , 524288