Image Classification
Transformers
TensorBoard
Safetensors
PyTorch
vit
huggingpics
Eval Results (legacy)
Instructions to use AliGhiasvand86/cat_dog2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AliGhiasvand86/cat_dog2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="AliGhiasvand86/cat_dog2") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("AliGhiasvand86/cat_dog2") model = AutoModelForImageClassification.from_pretrained("AliGhiasvand86/cat_dog2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
cat_dog2
Autogenerated by HuggingPics🤗🖼️
Report any issues with the demo at the github repo.
Example Images
cat
dog
- Downloads last month
- 3
Evaluation results
- Accuracyself-reported1.000

