Instructions to use kenyou/Fine_tune_SAM_Segment_Anything_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kenyou/Fine_tune_SAM_Segment_Anything_Model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="kenyou/Fine_tune_SAM_Segment_Anything_Model")# Load model directly from transformers import AutoProcessor, AutoModelForMaskGeneration processor = AutoProcessor.from_pretrained("kenyou/Fine_tune_SAM_Segment_Anything_Model") model = AutoModelForMaskGeneration.from_pretrained("kenyou/Fine_tune_SAM_Segment_Anything_Model") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!