Commit
·
c5bdf8c
1
Parent(s):
75558da
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,8 @@ model = torch.hub.load("ultralytics/yolov5", "custom", path="yolov5_0.65map_exp7
|
|
15 |
|
16 |
model.conf = 0.20 # NMS confidence threshold
|
17 |
|
18 |
-
|
|
|
19 |
|
20 |
def show_preds_image(im):
|
21 |
|
|
|
15 |
|
16 |
model.conf = 0.20 # NMS confidence threshold
|
17 |
|
18 |
+
# sample test images
|
19 |
+
path = [['sample-images/27.jpg', 'sample-images/82.jpg', 'sample-images/91.jpg']]
|
20 |
|
21 |
def show_preds_image(im):
|
22 |
|