Open Rockntt opened 4 months ago
i got the error like this
Traceback (most recent call last):
File "e:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 61, in
i got the error like this Traceback (most recent call last): File "e:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 61, in label_map = label_map_util.load_labelmap(args.labels_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "e:\RealTimeObjectDetection.venv\Lib\site-packages\object_detection\utils\label_map_util.py", line 132, in load_labelmap with tf.gfile.GFile(path, 'r') as fid: ^^^^^^^^ AttributeError: module 'tensorflow' has no attribute 'gfile'. Did you mean: 'fill'? Traceback (most recent call last): File "e:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 61, in label_map = label_map_util.load_labelmap(args.labels_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "e:\RealTimeObjectDetection.venv\Lib\site-packages\object_detection\utils\label_map_util.py", line 132, in load_labelmap with tf.gfile.GFile(path, 'r') as fid: ^^^^^^^^ AttributeError: module 'tensorflow' has no attribute 'gfile'. Did you mean: 'fill'?
Hi,
The repository seems to be dead and the notebook is outdated. Try to look for a newer guides.
i got the error like this Traceback (most recent call last): File "e:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 61, in label_map = label_map_util.load_labelmap(args.labels_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "e:\RealTimeObjectDetection.venv\Lib\site-packages\object_detection\utils\label_map_util.py", line 132, in load_labelmap with tf.gfile.GFile(path, 'r') as fid: ^^^^^^^^ AttributeError: module 'tensorflow' has no attribute 'gfile'. Did you mean: 'fill'? Traceback (most recent call last): File "e:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 61, in label_map = label_map_util.load_labelmap(args.labels_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "e:\RealTimeObjectDetection.venv\Lib\site-packages\object_detection\utils\label_map_util.py", line 132, in load_labelmap with tf.gfile.GFile(path, 'r') as fid: ^^^^^^^^ AttributeError: module 'tensorflow' has no attribute 'gfile'. Did you mean: 'fill'?
Hi,
The repository seems to be dead and the notebook is outdated. Try to look for a newer guides.
i've solve that eror but now i found other one
Traceback (most recent call last):
File "E:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 29, in
how to fix it?
i got the error like this Traceback (most recent call last): File "e:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 61, in label_map = label_map_util.load_labelmap(args.labels_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "e:\RealTimeObjectDetection.venv\Lib\site-packages\object_detection\utils\label_map_util.py", line 132, in load_labelmap with tf.gfile.GFile(path, 'r') as fid: ^^^^^^^^ AttributeError: module 'tensorflow' has no attribute 'gfile'. Did you mean: 'fill'? Traceback (most recent call last): File "e:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 61, in label_map = label_map_util.load_labelmap(args.labels_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "e:\RealTimeObjectDetection.venv\Lib\site-packages\object_detection\utils\label_map_util.py", line 132, in load_labelmap with tf.gfile.GFile(path, 'r') as fid: ^^^^^^^^ AttributeError: module 'tensorflow' has no attribute 'gfile'. Did you mean: 'fill'?
Hi, The repository seems to be dead and the notebook is outdated. Try to look for a newer guides.
i've solve that eror but now i found other one
Traceback (most recent call last): File "E:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 29, in from object_detection.utils import dataset_util, label_map_util ModuleNotFoundError: No module named 'object_detection' Traceback (most recent call last): File "E:\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 29, in from object_detection.utils import dataset_util, label_map_util ModuleNotFoundError: No module named 'object_detection'
how to fix it?
Try install Tensorflow Object Detection Library Packaged
pip install tensorflow-object-detection-api
Hi, @nicknochnack . Trying to follow your object detection guide, but getting this error:
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
Got no thoughts how to fix it. Looking for help!