Spaces:
Runtime error
Runtime error
extra
Browse files
app.py
CHANGED
|
@@ -84,7 +84,9 @@ def process_image_and_plot(image,iou_threshold=0.5, threshold=0.4):
|
|
| 84 |
outputs = non_max_suppression(outputs, conf_thres=iou_threshold, iou_thres=threshold)
|
| 85 |
# sample_metrics = get_batch_statistics(outputs, targets, iou_threshold=threshold)
|
| 86 |
|
| 87 |
-
|
|
|
|
|
|
|
| 88 |
|
| 89 |
print("transformed_image 4")
|
| 90 |
|
|
|
|
| 84 |
outputs = non_max_suppression(outputs, conf_thres=iou_threshold, iou_thres=threshold)
|
| 85 |
# sample_metrics = get_batch_statistics(outputs, targets, iou_threshold=threshold)
|
| 86 |
|
| 87 |
+
print("shape ", output.shape)
|
| 88 |
+
|
| 89 |
+
# bboxes = [[] for _ in range(1)]
|
| 90 |
|
| 91 |
print("transformed_image 4")
|
| 92 |
|