support box threshold in GD 1.5 demos
This commit is contained in:
@@ -80,6 +80,7 @@ task = DetectionTask(
|
||||
prompts=[TextPrompt(text="children. pillow")],
|
||||
targets=[DetectionTarget.BBox], # detect bbox
|
||||
model=DetectionModel.GDino1_5_Pro, # detect with GroundingDino-1.5-Pro model
|
||||
bbox_threshold=0.2,
|
||||
)
|
||||
|
||||
client.run_task(task)
|
||||
|
Reference in New Issue
Block a user