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

Support for adding custom model? #54

Closed
dat-rohit opened this issue Jul 15, 2024 · 5 comments
Closed

Support for adding custom model? #54

dat-rohit opened this issue Jul 15, 2024 · 5 comments

Comments

@dat-rohit
Copy link

Hi, I was looking at this tool and was wondering if (and how) it would be possible to use my own finetuned SAM model instead of the base one?
Ideally, I would like to draw the bounding box and let my model predict a segmented mask.

Any insight or help would be highly appreciated.

@Skwarson96
Copy link

How did you finetune SAM? Did you use any open solutions?

@dat-rohit
Copy link
Author

It was actually released here in open-source with a .pth file: https://github.com/OpenGVLab/SAM-Med2D

@Skwarson96
Copy link

Skwarson96 commented Jul 19, 2024

@dat-rohit I read your question once again and I have two observations:

  • These labeling tool based on pre generated embeddings and onnx models so you need to figure out how to do it with your model
  • SALT doesnt support box labeling 😢

@dat-rohit
Copy link
Author

Thank you a lot for your insightful answer, definitely helped me!

@Skwarson96
Copy link

I added box prompt to my fork here

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