We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got this error on running the code:
label_map_util.py in convert_label_map_to_categories(label_map, max_num_classes, use_display_name) AttributeError Traceback (most recent call last) in 39 # dictionary mapping integers to appropriate string labels would be fine 40 label_map = label_map_util.load_labelmap(PATH_TO_LABELS) ---> 41 categories = label_map_util.convert_label_map_to_categories(label_map, max_num_classes=NUM_CLASSES, use_display_name=True) 42 category_index = label_map_util.create_category_index(categories) 43 ~\Documents\Face Mask Detection Project\face_mask_detection_May_28_2020\models-master\models-master\research\object_detection\utils\label_map_util.py in convert_label_map_to_categories(label_map, max_num_classes, use_display_name) 131 list_of_ids_already_added.append(item.id) 132 category = {'id': item.id, 'name': name} --> 133 if item.keypoints: 134 keypoints = {} 135 list_of_keypoint_ids = [] AttributeError: keypoints
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Got this error on running the code:
label_map_util.py in convert_label_map_to_categories(label_map, max_num_classes, use_display_name)
AttributeError Traceback (most recent call last)
in
39 # dictionary mapping integers to appropriate string labels would be fine
40 label_map = label_map_util.load_labelmap(PATH_TO_LABELS)
---> 41 categories = label_map_util.convert_label_map_to_categories(label_map, max_num_classes=NUM_CLASSES, use_display_name=True)
42 category_index = label_map_util.create_category_index(categories)
43
~\Documents\Face Mask Detection Project\face_mask_detection_May_28_2020\models-master\models-master\research\object_detection\utils\label_map_util.py in convert_label_map_to_categories(label_map, max_num_classes, use_display_name)
131 list_of_ids_already_added.append(item.id)
132 category = {'id': item.id, 'name': name}
--> 133 if item.keypoints:
134 keypoints = {}
135 list_of_keypoint_ids = []
AttributeError: keypoints
The text was updated successfully, but these errors were encountered: