anh1811 commited on
Commit
9cc39ba
·
1 Parent(s): ee855dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -280,6 +280,7 @@ def plot_image(image, boxes, image_ori=None):
280
  def infer(model, img, thresh, iou_thresh, anchors):
281
  model.eval()
282
  image = np.array(img)
 
283
  image_copy = image.copy()
284
  # image = image[np.newaxis, :]
285
  augmentations = infer_transforms(image=image)
 
280
  def infer(model, img, thresh, iou_thresh, anchors):
281
  model.eval()
282
  image = np.array(img)
283
+ print(image.shape)
284
  image_copy = image.copy()
285
  # image = image[np.newaxis, :]
286
  augmentations = infer_transforms(image=image)