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
Download eval_results.json from Nick6154-dev/vit-base-patch16-224-crochets-clothes-classification: direct link, hf CLI and curl.
- Browser
- Download file 204 Bytes
-
https://huggingface.co/Nick6154-dev/vit-base-patch16-224-crochets-clothes-classification/resolve/main/eval_results.json
- Command line
-
hf download hf://Nick6154-dev/vit-base-patch16-224-crochets-clothes-classification/eval_results.json
-
curl -L -o eval_results.json https://huggingface.co/Nick6154-dev/vit-base-patch16-224-crochets-clothes-classification/resolve/main/eval_results.json
204 Bytes
| { | |
| "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 | |
| } |