Instructions to use flagship/dgan-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flagship/dgan-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="flagship/dgan-model") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("flagship/dgan-model") model = AutoModelForImageClassification.from_pretrained("flagship/dgan-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
79fc2b1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:890291443c28b1c2f8e94b76dc795561d636e7fb63b2a7032ecbfdf9675b73a6
size 111355173
|