Image Classification
Transformers
TensorBoard
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use Nick6154-dev/vit-base-patch16-224-crochets-clothes-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nick6154-dev/vit-base-patch16-224-crochets-clothes-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Nick6154-dev/vit-base-patch16-224-crochets-clothes-classification") 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("Nick6154-dev/vit-base-patch16-224-crochets-clothes-classification") model = AutoModelForImageClassification.from_pretrained("Nick6154-dev/vit-base-patch16-224-crochets-clothes-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 204 Bytes
90c0ee0 | 1 2 3 4 5 6 7 8 | {
"epoch": 2.99,
"eval_accuracy": 0.9957828149710068,
"eval_loss": 0.01684400625526905,
"eval_runtime": 8.8295,
"eval_samples_per_second": 214.848,
"eval_steps_per_second": 6.795
} |