yifehuang97 commited on
Commit
9fe458f
·
1 Parent(s): 4b82d9c
Files changed (1) hide show
  1. app.py +2 -2
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=15,
286
- similarity_threshold=0.2,
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]