Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to create a SAM mask after inference directly from a custom yolov5 model? #151

Open
YoungjaeDev opened this issue Oct 13, 2023 · 1 comment

Comments

@YoungjaeDev
Copy link

YoungjaeDev commented Oct 13, 2023

I wonder answer about my question

  1. Or is it possible to load a pre-predicted bbox?
  2. I wonder if it is possible to perform the task by dividing it into instance seg and semantic seg tasks.
@ryouchinsa
Copy link

You can export SAM 2.1 ONNX models for image prediction using export_onnx.py in sam-cpp-macos repository.

After detecting bounding boxes using YOLO11, you can segment inside the box using Segment Anything Model2.

boxes2polygons.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants