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