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
I am Having this problem please help
Traceback (most recent call last):
File "E:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 62, in
label_map_dict = label_map_util.get_label_map_dict(label_map)
File "C:\Users\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\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\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\site-packages\object_detection\utils\label_map_util.py", line 133, in load_labelmap
label_map_string = fid.read()
File "C:\Users\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 114, in read
self._preread_check()
File "C:\Users\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 76, in _preread_check
self._read_buf = _pywrap_file_io.BufferedInputStream(
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. tensorflow.python.lib.io._pywrap_file_io.BufferedInputStream(filename: str, buffer_size: int, token: tensorflow.python.lib.io._pywrap_file_io.TransactionToken = None)
Invoked with: item {
name: "Mask"
id: 1
}
item {
name: "NoMask"
id: 2
}
, 524288
Traceback (most recent call last):
File "E:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 62, in
label_map_dict = label_map_util.get_label_map_dict(label_map)
File "C:\Users\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\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\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\site-packages\object_detection\utils\label_map_util.py", line 133, in load_labelmap
label_map_string = fid.read()
File "C:\Users\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 114, in read
self._preread_check()
File "C:\Users\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 76, in _preread_check
self._read_buf = _pywrap_file_io.BufferedInputStream(
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. tensorflow.python.lib.io._pywrap_file_io.BufferedInputStream(filename: str, buffer_size: int, token: tensorflow.python.lib.io._pywrap_file_io.TransactionToken = None)
I am Having this problem please help
Traceback (most recent call last):
File "E:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 62, in
label_map_dict = label_map_util.get_label_map_dict(label_map)
File "C:\Users\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\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\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\site-packages\object_detection\utils\label_map_util.py", line 133, in load_labelmap
label_map_string = fid.read()
File "C:\Users\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 114, in read
self._preread_check()
File "C:\Users\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 76, in _preread_check
self._read_buf = _pywrap_file_io.BufferedInputStream(
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. tensorflow.python.lib.io._pywrap_file_io.BufferedInputStream(filename: str, buffer_size: int, token: tensorflow.python.lib.io._pywrap_file_io.TransactionToken = None)
Invoked with: item {
name: "Mask"
id: 1
}
item {
name: "NoMask"
id: 2
}
, 524288
Traceback (most recent call last):
File "E:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 62, in
label_map_dict = label_map_util.get_label_map_dict(label_map)
File "C:\Users\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\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\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\site-packages\object_detection\utils\label_map_util.py", line 133, in load_labelmap
label_map_string = fid.read()
File "C:\Users\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 114, in read
self._preread_check()
File "C:\Users\Benaia Banda\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 76, in _preread_check
self._read_buf = _pywrap_file_io.BufferedInputStream(
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. tensorflow.python.lib.io._pywrap_file_io.BufferedInputStream(filename: str, buffer_size: int, token: tensorflow.python.lib.io._pywrap_file_io.TransactionToken = None)
Invoked with: item {
name: "Mask"
id: 1
}
item {
name: "NoMask"
id: 2
}
, 524288
The text was updated successfully, but these errors were encountered: