Instructions to use danelcsb/sam2_hiera_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use danelcsb/sam2_hiera_small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="danelcsb/sam2_hiera_small")# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("danelcsb/sam2_hiera_small") model = AutoModel.from_pretrained("danelcsb/sam2_hiera_small") - Notebooks
- Google Colab
- Kaggle
File size: 90 Bytes
2f17fe9 | 1 2 3 4 5 6 | {
"point_pad_value": -10,
"processor_class": "Sam2Processor",
"target_size": 1024
}
|