Spaces:
Build error
Build error
sabrinabenas
commited on
Commit
β’
2f5c6bc
1
Parent(s):
5763932
test
Browse files
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)
|