Image Classification
Transformers
TensorBoard
Safetensors
swin
Generated from Trainer
Eval Results (legacy)
Instructions to use Angy309/swin-tiny-patch4-window7-224-LEGO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Angy309/swin-tiny-patch4-window7-224-LEGO with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Angy309/swin-tiny-patch4-window7-224-LEGO") 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("Angy309/swin-tiny-patch4-window7-224-LEGO") model = AutoModelForImageClassification.from_pretrained("Angy309/swin-tiny-patch4-window7-224-LEGO", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download eval_results.json from Angy309/swin-tiny-patch4-window7-224-LEGO: direct link, hf CLI and curl.
- Browser
- Download file 203 Bytes
-
https://huggingface.co/Angy309/swin-tiny-patch4-window7-224-LEGO/resolve/main/eval_results.json
- Command line
-
hf download hf://Angy309/swin-tiny-patch4-window7-224-LEGO/eval_results.json
-
curl -L -o eval_results.json https://huggingface.co/Angy309/swin-tiny-patch4-window7-224-LEGO/resolve/main/eval_results.json
203 Bytes
| { | |
| "epoch": 5.0, | |
| "eval_accuracy": 0.9717868338557993, | |
| "eval_loss": 0.11080693453550339, | |
| "eval_runtime": 4.3469, | |
| "eval_samples_per_second": 146.771, | |
| "eval_steps_per_second": 4.601 | |
| } |