-
Notifications
You must be signed in to change notification settings - Fork 589
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
Adding Segment Anything to the model zoo! #3330
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and it works on my machine 👍 . The one thing worth noting is that it doesn't install segment-anything
for you. You need to install the package for it to work. Might consider adding the instructions:
pip install git+https://github.com/facebookresearch/segment-anything.git
FYI- without import fiftyone.zoo as foz
model = foz.load_zoo_model("segment-anything-vitb-torch") should show a helpful error message:
If you want the dependency to be automatically installed, one can use: model = foz.load_zoo_model("segment-anything-vitb-torch", install_requirements=True) |
Polishes up @Rusteam's work from #3019.
Segment Anything is now officially available in the FiftyOne Model Zoo! 📈
Box prompt example
Keypoint prompt example
Automatic segmentation example