How to use gustproof/dnbr-tagger-preview1 with timm:
import timm model = timm.create_model("hf_hub:gustproof/dnbr-tagger-preview1", pretrained=True)
How to use gustproof/dnbr-tagger-preview1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="gustproof/dnbr-tagger-preview1") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("gustproof/dnbr-tagger-preview1", dtype="auto")
The community tab is the place to discuss and collaborate with the HF community!