support gdino local model (load local ckpt)
This commit is contained in:
@@ -69,8 +69,8 @@ input_boxes = results[0]["boxes"].cpu().numpy()
|
||||
|
||||
masks, scores, logits = sam2_predictor.predict(
|
||||
point_coords=None,
|
||||
box=input_boxes,
|
||||
point_labels=None,
|
||||
box=input_boxes,
|
||||
multimask_output=False,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user