tensorflow / benchmarks

A benchmark framework for Tensorflow
Apache License 2.0
1.14k stars 630 forks source link

TypeError: visualize_boxes_and_labels_on_image_array() missing 1 required positional argument: 'category_index' #516

Open shridharnator opened 3 years ago

shridharnator commented 3 years ago

viz_utils.visualize_boxes_and_labels_on_image_array( image_np_with_detections, detections['detection_boxes'], detections['detection_classes']+label_id_offset, category_index, use_normalized_coordinates=True, max_boxes_to_draw=5, min_score_thresh=.8, agnostic_mode=False) ![Screenshot 2021-07-16 at 12-06-27 2 Training and Detection - Jupyter Notebook](https://user-images.githubusercontent.com/32407571/125904668-f95a68e9-6c22-4b1c-adf4-da49df1e531f.png)