RashiAgarwal
commited on
Commit
·
3cf5303
1
Parent(s):
acf7440
Update display.py
Browse files- display.py +1 -1
display.py
CHANGED
@@ -6,7 +6,7 @@ import random
|
|
6 |
from albumentations.pytorch import ToTensorV2
|
7 |
from yolov3 import YOLOV3_PL
|
8 |
from pytorch_grad_cam.utils.image import show_cam_on_image
|
9 |
-
from utils import YoloCAM, cells_to_bboxes,
|
10 |
|
11 |
def inference(image: np.ndarray, iou_thresh: float = 0.75, thresh: float = 0.75, transparency: float = 0.5):
|
12 |
model = YOLOV3_PL()
|
|
|
6 |
from albumentations.pytorch import ToTensorV2
|
7 |
from yolov3 import YOLOV3_PL
|
8 |
from pytorch_grad_cam.utils.image import show_cam_on_image
|
9 |
+
from utils import YoloCAM, cells_to_bboxes, non_max_suppression
|
10 |
|
11 |
def inference(image: np.ndarray, iou_thresh: float = 0.75, thresh: float = 0.75, transparency: float = 0.5):
|
12 |
model = YOLOV3_PL()
|