models/sam-3/ #22378
Replies: 19 comments 24 replies
|
SAM 3 looks like a big step forward for open-vocabulary segmentation, and we plan to support it natively in We’ll move fast once it’s open-sourced. Feel free to drop questions or comments for the team below! |
|
👋 Hello, thanks for starting this discussion about SAM 3 in Ultralytics 🚀 This is an automated response to help you get started quickly—an Ultralytics engineer will also assist you here soon. We recommend a visit to the Docs for new users where you can find many Python and CLI usage examples and where many of the most common questions may already be answered. If this is a 🐛 Bug Report, please provide a minimum reproducible example to help us debug it. If this is a custom training ❓ Question, please provide as much information as possible, including dataset image examples and training logs, and verify you are following our Tips for Best Training Results. Join the Ultralytics community where it suits you best. For real-time chat, head to Discord 🎧. Prefer in-depth discussions? Check out Discourse. Or dive into threads on our Subreddit to share knowledge with the community. UpgradeUpgrade to the latest pip install -U ultralyticsEnvironmentsYOLO may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
StatusIf this badge is green, all Ultralytics CI tests are currently passing. CI tests verify correct operation of all YOLO Modes and Tasks on macOS, Windows, and Ubuntu every 24 hours and on every commit. Feel free to share any specific details or goals for your SAM 3 use case (logs, configs, steps to reproduce, screenshots). This will help us assist you faster 🙌 |
|
Incredible, when you think it’s available for use? |
|
Hi dear ultralytics team, it seems that now fine tuning of sam3 is not available in ultralytics yet. do you have plan to make it possible? if yes, Approximately how long? thanks |
|
Thanks for the hard work! |
|
Hello, excuse me, I would like to ask if SAM3 can support such an input situation? |
|
Hi there, am I the only one getting FileNotFoundError: [Errno 2] No such file or directory: 'sam3.pt'? |
|
Does SAM3 now support exporting to ONNX and TensorRT? |
|
Nice work. |
|
Where can I find the image "image.jpg" and the video "video.mp4" to test the scripts? |
|
I observed that for the same image and the same confidence (conf) parameter, the masks returned by YOLO + SAM3SemanticPredictor are different from the masks returned by the official SAM3 pipeline. Is this expected behavior? |
|
It's an amazing plateform to access AI models for the edge devices. I would like to know when Ultralytics team will upload SAM3D weights. Thank you! |
|
Does the library allow you to use custom weights? If we've finetuned sam3 model weights from the SAM3 train scripts on the original SAM3 github page, what changes would be needed to import it into this setup? |
|
I noticed that the Ultralytics library currently does not support exporting SAM3 models to ONNX. |
|
Hi there. I have a video and I want to segment it using SAM3. But there is one issue: the object desired to be segmented is in the middle of the video. I tried to segment my video using SAM3, and I found the model knows nothing about the object and segment it poorly (particularly, SAM3 segmented wrong objects) until the object appears in my video. Is it possible (using Ultralytics framework) to refer to a specific frame from which the model will start segmentation? As far as I know something like this is implemeted in SAM2 original repo. |
|
amazing! |
|
|
I'd compared facebook/sam3 and ultralytics/sam3. I set up both the models for inference as follow: I expected that there would be the same results of inference on the same videos and paramteres above. But I'd got different segments, as it can be seen on the screens below (there are original frame to the left, facebook/sam3 segmentation on the middle and ultralytics/sam3 segmentation to the right).
Can someone explain me why it's happened like this? |
|
Hi, thanks for the great work. |



Uh oh!
There was an error while loading. Please reload this page.
models/sam-3/
Discover SAM 3, Meta's next evolution of the Segment Anything Model, introducing Promptable Concept Segmentation with text and image exemplar prompts for detecting all instances of visual concepts across images and videos.
https://docs.ultralytics.com/models/sam-3/
All reactions