TF_Object_Detection2020 icon indicating copy to clipboard operation
TF_Object_Detection2020 copied to clipboard

StringIntLabaelMapItem has no field frequency

Open mlopez0 opened this issue 4 years ago • 1 comments

Hi, I was able to follow the whole Tutorial, solving some minor issues found during the road, however in the last step:

python3 webcam_detection.py

to test the model with the webcam I got this error:

Traceback (most recent call last):
  File "webcam_detection.py", line 76, in <module>
    categories = label_map_util.convert_label_map_to_categories(label_map, max_num_classes=NUM_CLASSES, use_display_name=True)
  File "/home/marvin/Desktop/models/research/object_detection/utils/label_map_util.py", line 133, in convert_label_map_to_categories
    if item.HasField('frequency'):
ValueError: Protocol message StringIntLabelMapItem has no field frequency.


mlopez0 avatar Nov 20 '20 12:11 mlopez0

Hell yeah I have the same error, but decided to let it be for the next steps including the training it doesn't matter, but it's still unsatisfying

Petros626 avatar Sep 20 '21 23:09 Petros626