microsoft/cats_vs_dogs
Viewer • Updated • 23.4k • 4.21k • 62
How to use kazuma313/cat_vs_dog_classification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="kazuma313/cat_vs_dog_classification")
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("kazuma313/cat_vs_dog_classification")
model = AutoModelForImageClassification.from_pretrained("kazuma313/cat_vs_dog_classification")This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the cats_vs_dogs dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
Base model
google/vit-base-patch16-224-in21k