Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def inference_instance(image):
|
|
| 43 |
|
| 44 |
result = processor.post_process_instance_segmentation(
|
| 45 |
outputs,
|
| 46 |
-
threshold=0.
|
| 47 |
target_sizes=[[image.size[1], image.size[0]]]
|
| 48 |
)[0]
|
| 49 |
|
|
|
|
| 43 |
|
| 44 |
result = processor.post_process_instance_segmentation(
|
| 45 |
outputs,
|
| 46 |
+
threshold=0.89,
|
| 47 |
target_sizes=[[image.size[1], image.size[0]]]
|
| 48 |
)[0]
|
| 49 |
|