 Traceback (most recent call last):


 "/home/pi/Desktop/tensorflow1/models/research/object_detection/Object_detection_webcam.py", line 55, in <module>

label_map = label_map_util.load_labelmap(PATH_TO_LABELS)


 "/home/pi/Desktop/tensorflow1/models/research/object_detection/utils/label_map_util.py", line 137, in load_labelmap

with tf.gfile.G
(path, 'r') as fid:
AttributeError: 'function' object has no attribute 'G
'
AttributeError: Traceback (most recent call last):


 "/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 106, in _worker_loop

samples = collate_fn([dataset[i] for i in batch_indices])


 "/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 106, in <listcomp>

samples = collate_fn([dataset[i] for i in batch_indices])


 "/github/pysot/pysot/datasets/dataset.py", line 253, in __getitem__

template_box = self._get_bbox(template_image, template[1])


 "/github/pysot/pysot/datasets/dataset.py", line 214, in _get_bbox

imh, imw = image.shape[:2]
AttributeError: 'NoneType' object has no attribute 'shape'
