YOLO Vision 2024 updates https://ultralytics.com/events/yolovision (#15602)
Co-authored-by: Muhammad Rizwan Munawar <muhammadrizwanmunawar123@gmail.com>
This commit is contained in:
parent
be9fe124e3
commit
0635a40b98
4 changed files with 4 additions and 6 deletions
|
|
@ -84,9 +84,7 @@ def test_fastsam(task="segment", model=WEIGHTS_DIR / "FastSAM-s.pt", data="coco8
|
|||
new_masks, _ = Predictor.remove_small_regions(everything_results[0].masks.data, min_area=20)
|
||||
|
||||
# Run inference with bboxes and points and texts prompt at the same time
|
||||
results = sam_model(
|
||||
source, bboxes=[439, 437, 524, 709], points=[[200, 200]], labels=[1], texts="a photo of a dog"
|
||||
)
|
||||
sam_model(source, bboxes=[439, 437, 524, 709], points=[[200, 200]], labels=[1], texts="a photo of a dog")
|
||||
|
||||
|
||||
def test_mobilesam():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue