RashiAgarwal
commited on
Commit
•
5f47025
1
Parent(s):
f375838
Update app.py
Browse files
app.py
CHANGED
@@ -12,10 +12,9 @@ gr.Interface(
|
|
12 |
inference,
|
13 |
inputs=[
|
14 |
gr.Image(label="Input Image"),
|
15 |
-
gr.Slider(0, 1, value=0.
|
16 |
-
gr.Slider(0, 1, value=0.
|
17 |
-
|
18 |
-
gr.Slider(0, 1, value=0.5, label="Opacity of GradCAM"),
|
19 |
],
|
20 |
outputs=gr.Gallery(rows=2, columns=1),
|
21 |
title = '''YoloV3 on PASCAL VOC Dataset From Scratch
|
@@ -27,14 +26,14 @@ gr.Interface(
|
|
27 |
|
28 |
,examples=[
|
29 |
["Examples/000001.jpg", 0.75, 0.75, True, 0.5],
|
30 |
-
["Examples/000002.jpg", 0.75, 0.75, True, 0.5]
|
31 |
-
["Examples/000003.jpg", 0.75, 0.75, True, 0.5]
|
32 |
-
["Examples/000004.jpg", 0.75, 0.75, True, 0.5]
|
33 |
-
["Examples/000005.jpg", 0.75, 0.75, True, 0.5]
|
34 |
-
["Examples/000006.jpg", 0.75, 0.75, True, 0.5]
|
35 |
-
["Examples/000007.jpg", 0.75, 0.75, True, 0.5]
|
36 |
-
["Examples/000008.jpg", 0.75, 0.75, True, 0.5]
|
37 |
-
["Examples/000009.jpg", 0.75, 0.75, True, 0.5]
|
38 |
["Examples/000010.jpg", 0.75, 0.75, True, 0.5]
|
39 |
]
|
40 |
|
|
|
12 |
inference,
|
13 |
inputs=[
|
14 |
gr.Image(label="Input Image"),
|
15 |
+
gr.Slider(0, 1, value=0.75, label="IOU Threshold"),
|
16 |
+
gr.Slider(0, 1, value=0.75, label="Threshold"),
|
17 |
+
|
|
|
18 |
],
|
19 |
outputs=gr.Gallery(rows=2, columns=1),
|
20 |
title = '''YoloV3 on PASCAL VOC Dataset From Scratch
|
|
|
26 |
|
27 |
,examples=[
|
28 |
["Examples/000001.jpg", 0.75, 0.75, True, 0.5],
|
29 |
+
["Examples/000002.jpg", 0.75, 0.75, True, 0.5],
|
30 |
+
["Examples/000003.jpg", 0.75, 0.75, True, 0.5],
|
31 |
+
["Examples/000004.jpg", 0.75, 0.75, True, 0.5],
|
32 |
+
["Examples/000005.jpg", 0.75, 0.75, True, 0.5],
|
33 |
+
["Examples/000006.jpg", 0.75, 0.75, True, 0.5],
|
34 |
+
["Examples/000007.jpg", 0.75, 0.75, True, 0.5],
|
35 |
+
["Examples/000008.jpg", 0.75, 0.75, True, 0.5],
|
36 |
+
["Examples/000009.jpg", 0.75, 0.75, True, 0.5],
|
37 |
["Examples/000010.jpg", 0.75, 0.75, True, 0.5]
|
38 |
]
|
39 |
|