sabrinabenas commited on
Commit
2f5c6bc
β€’
1 Parent(s): 5763932
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -134,6 +134,7 @@ def crop_animal_detections(yolo_results,
134
  pred_label = det_array[j,5]
135
 
136
  # keep animal crops above threshold
 
137
  if (pred_label == list_labels_as_str.index('animal')) and \
138
  (pred_llk >= likelihood_th):
139
  area = (xmin_rd, ymin_rd, xmax_rd, ymax_rd)
 
134
  pred_label = det_array[j,5]
135
 
136
  # keep animal crops above threshold
137
+ pdb.set_trace()
138
  if (pred_label == list_labels_as_str.index('animal')) and \
139
  (pred_llk >= likelihood_th):
140
  area = (xmin_rd, ymin_rd, xmax_rd, ymax_rd)