Instructions to use ayoubkirouane/Breast-Cancer_SAM_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ayoubkirouane/Breast-Cancer_SAM_v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="ayoubkirouane/Breast-Cancer_SAM_v1")# Load model directly from transformers import AutoProcessor, AutoModelForMaskGeneration processor = AutoProcessor.from_pretrained("ayoubkirouane/Breast-Cancer_SAM_v1") model = AutoModelForMaskGeneration.from_pretrained("ayoubkirouane/Breast-Cancer_SAM_v1") - Notebooks
- Google Colab
- Kaggle
Finetuning of SAM
#2 opened about 2 years ago
by
AsishKotaru
Adding `safetensors` variant of this model
#1 opened over 2 years ago
by
SFconvertbot