Update script.py
Browse files
script.py
CHANGED
|
@@ -101,8 +101,8 @@ if __name__ == "__main__":
|
|
| 101 |
|
| 102 |
model.to(device)
|
| 103 |
|
| 104 |
-
BOX_THRESHOLD = 0.
|
| 105 |
-
TEXT_THRESHOLD = 0.
|
| 106 |
PROMPT = "surgical instrument."
|
| 107 |
|
| 108 |
# If you want to test out your model on training images and visualize the results, set visualize_results to True - Visualization images will be saved in the "outputs" folder
|
|
|
|
| 101 |
|
| 102 |
model.to(device)
|
| 103 |
|
| 104 |
+
BOX_THRESHOLD = 0.35
|
| 105 |
+
TEXT_THRESHOLD = 0.25
|
| 106 |
PROMPT = "surgical instrument."
|
| 107 |
|
| 108 |
# If you want to test out your model on training images and visualize the results, set visualize_results to True - Visualization images will be saved in the "outputs" folder
|