stevfoy commited on
Commit
5c08ced
·
1 Parent(s): 6a0ee3f
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -86,7 +86,9 @@ def process_image_and_plot(image,iou_threshold=0.5, threshold=0.4):
86
  boxes = [[] for _ in range(1)]
87
 
88
  for i in range(3):
 
89
  batch_size, A, S, _, _ = output[i].shape
 
90
  anchor = scaled_anchors[i]
91
  boxes_scale_i = cells_to_bboxes(output[i], anchor, S=S, is_preds=True)
92
  for idx, box in enumerate(boxes_scale_i):
 
86
  boxes = [[] for _ in range(1)]
87
 
88
  for i in range(3):
89
+ print("output[i].shape", output[i].shape)
90
  batch_size, A, S, _, _ = output[i].shape
91
+
92
  anchor = scaled_anchors[i]
93
  boxes_scale_i = cells_to_bboxes(output[i], anchor, S=S, is_preds=True)
94
  for idx, box in enumerate(boxes_scale_i):