How to use whj363636/SPTNet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="whj363636/SPTNet") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("whj363636/SPTNet", dtype="auto")
As the models aren't compatible with the Transformers library, this PR removes that tag.
Note, you can make your models compatible by converting the weights using the corresponding conversion scripts, e.g. here for DINOv2.
· Sign up or log in to comment