Skip to content

Commit

Permalink
rename variables
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya1503 committed Jan 25, 2024
1 parent e4e4915 commit b72c5f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions object_detection/object_detection.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -603,11 +603,11 @@
"source": [
"for c in class_names.keys():\n",
" class_num = int(c)\n",
" sorted_indices = np.argsort(areas_3)[::-1]\n",
" sorted_indices = np.argsort(max_deviation_values)[::-1]\n",
" count = 0\n",
"\n",
" for image_to_visualize in sorted_indices:\n",
" if areas_3[i] == 0 or class_nm[i] != class_num:\n",
" if max_deviation_values[i] == 0 or max_deviation_classes[i] != class_num:\n",
" continue\n",
" image_path = IMAGE_PATH + labels[image_to_visualize]['seg_map']\n",
" print(image_path, '| idx', image_to_visualize , '| label quality score:', scores[image_to_visualize], '| is issue:', image_to_visualize in issue_idx)\n",
Expand Down

0 comments on commit b72c5f6

Please sign in to comment.