Instructions to use Alecloud123/sam2-hiera-base-plus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Alecloud123/sam2-hiera-base-plus with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="Alecloud123/sam2-hiera-base-plus")# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("Alecloud123/sam2-hiera-base-plus") model = AutoModel.from_pretrained("Alecloud123/sam2-hiera-base-plus", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
fe076af | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:cce38e86bf9fb50a6c7a454776d280b992ea16f763ed0db3f9db9fde4655b3f1
size 323409896
|