stevfoy commited on
Commit
020083f
·
1 Parent(s): 870d26f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ def process_image_and_plot(image,iou_threshold=0.5, threshold=0.4):
84
  BBOX = rescale_boxes(detect[0], img_size, image.shape[:2])
85
 
86
 
87
- fig = plot_image(transformed_image[0].permute(1, 2, 0), detect)
88
  # cam = YoloCAM(model=model, target_layers=[model.model.layers[-2]], use_cuda=False)
89
 
90
  # grayscale_cam = cam(transformed_image, scaled_anchors)[0, :, :]
 
84
  BBOX = rescale_boxes(detect[0], img_size, image.shape[:2])
85
 
86
 
87
+ fig = plot_image(transformed_image[0].permute(1, 2, 0), detect[0])
88
  # cam = YoloCAM(model=model, target_layers=[model.model.layers[-2]], use_cuda=False)
89
 
90
  # grayscale_cam = cam(transformed_image, scaled_anchors)[0, :, :]