Spaces:
Sleeping
Sleeping
Commit
·
9fe458f
1
Parent(s):
4b82d9c
feat
Browse files
app.py
CHANGED
|
@@ -282,8 +282,8 @@ def count_objects(image, pos_caption, neg_caption, box_threshold, point_radius,
|
|
| 282 |
pos_queries,
|
| 283 |
neg_queries,
|
| 284 |
image_size=img_size,
|
| 285 |
-
pixel_threshold=
|
| 286 |
-
similarity_threshold=0.
|
| 287 |
)
|
| 288 |
|
| 289 |
filtered_boxes = [boxes[i] for i in kept_indices]
|
|
|
|
| 282 |
pos_queries,
|
| 283 |
neg_queries,
|
| 284 |
image_size=img_size,
|
| 285 |
+
pixel_threshold=10,
|
| 286 |
+
similarity_threshold=0.3,
|
| 287 |
)
|
| 288 |
|
| 289 |
filtered_boxes = [boxes[i] for i in kept_indices]
|