Instructions to use timm/vit_base_patch32_224.sam_in1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/vit_base_patch32_224.sam_in1k with timm:
import timm model = timm.create_model("hf_hub:timm/vit_base_patch32_224.sam_in1k", pretrained=True) - Transformers
How to use timm/vit_base_patch32_224.sam_in1k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="timm/vit_base_patch32_224.sam_in1k") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("timm/vit_base_patch32_224.sam_in1k", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Add model
Browse files- pytorch_model.bin +1 -1
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 352951789
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00255ceac03bb658fdc5b3d7975f014d671d79d0a00eb026e95523a295e15736
|
| 3 |
size 352951789
|