label_map dict = label_map_util.get_label_map_dict(label_map) 1

label_map dict = label_map_util.get_label_map_dict(label_map)

label_map_dict = label_map_util.get_label_map_dict(args.labels_path)

Here is what the above code is Doing:
1. Loads the frozen graph from the .pb file
2. Loads the label map from the .pbtxt file
3. Creates a dictionary of the label map

Similar Posts