Image Classification
Transformers
TensorBoard
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use dacunaq/vit-base-patch32-384-finetuned-humid-classes-25 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dacunaq/vit-base-patch32-384-finetuned-humid-classes-25 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="dacunaq/vit-base-patch32-384-finetuned-humid-classes-25") 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("dacunaq/vit-base-patch32-384-finetuned-humid-classes-25") model = AutoModelForImageClassification.from_pretrained("dacunaq/vit-base-patch32-384-finetuned-humid-classes-25", device_map="auto") - Notebooks
- Google Colab
- Kaggle
vit-base-patch32-384-finetuned-humid-classes-25
This model is a fine-tuned version of google/vit-base-patch32-384 on the imagefolder dataset. It achieves the following results on the evaluation set:
- Loss: 0.0651
- Accuracy: 1.0
- F1 Macro: 1.0
- Precision Macro: 1.0
- Recall Macro: 1.0
- Precision Dry: 1.0
- Recall Dry: 1.0
- F1 Dry: 1.0
- Precision Firm: 1.0
- Recall Firm: 1.0
- F1 Firm: 1.0
- Precision Humid: 1.0
- Recall Humid: 1.0
- F1 Humid: 1.0
- Precision Lump: 1.0
- Recall Lump: 1.0
- F1 Lump: 1.0
- Precision Moist: 1.0
- Recall Moist: 1.0
- F1 Moist: 1.0
- Precision Rockies: 1.0
- Recall Rockies: 1.0
- F1 Rockies: 1.0
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 64
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 50
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | Precision Macro | Recall Macro | Precision Dry | Recall Dry | F1 Dry | Precision Firm | Recall Firm | F1 Firm | Precision Humid | Recall Humid | F1 Humid | Precision Lump | Recall Lump | F1 Lump | Precision Moist | Recall Moist | F1 Moist | Precision Rockies | Recall Rockies | F1 Rockies |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| No log | 1.0 | 3 | 1.7812 | 0.3243 | 0.1895 | 0.2351 | 0.2579 | 0.125 | 0.3333 | 0.1818 | 1.0 | 0.3571 | 0.5263 | 0.2857 | 0.8571 | 0.4286 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| No log | 2.0 | 6 | 1.4086 | 0.4054 | 0.1340 | 0.1169 | 0.1905 | 0.0 | 0.0 | 0.0 | 0.4516 | 1.0 | 0.6222 | 0.25 | 0.1429 | 0.1818 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| No log | 3.0 | 9 | 1.1741 | 0.5135 | 0.2816 | 0.2814 | 0.3214 | 0.0 | 0.0 | 0.0 | 0.5385 | 1.0 | 0.7 | 0.75 | 0.4286 | 0.5455 | 0.0 | 0.0 | 0.0 | 0.4 | 0.5 | 0.4444 | 0.0 | 0.0 | 0.0 |
| 1.5887 | 4.0 | 12 | 0.8192 | 0.8108 | 0.6665 | 0.6921 | 0.7083 | 0.0 | 0.0 | 0.0 | 0.875 | 1.0 | 0.9333 | 0.7778 | 1.0 | 0.875 | 1.0 | 0.5 | 0.6667 | 1.0 | 0.75 | 0.8571 | 0.5 | 1.0 | 0.6667 |
| 1.5887 | 5.0 | 15 | 0.5830 | 0.8378 | 0.7769 | 0.8422 | 0.7639 | 1.0 | 0.6667 | 0.8 | 1.0 | 1.0 | 1.0 | 0.6364 | 1.0 | 0.7778 | 1.0 | 0.5 | 0.6667 | 0.75 | 0.75 | 0.75 | 0.6667 | 0.6667 | 0.6667 |
| 1.5887 | 6.0 | 18 | 0.3380 | 0.9459 | 0.9272 | 0.9556 | 0.9167 | 1.0 | 1.0 | 1.0 | 0.9333 | 1.0 | 0.9655 | 1.0 | 1.0 | 1.0 | 1.0 | 0.8333 | 0.9091 | 0.8 | 1.0 | 0.8889 | 1.0 | 0.6667 | 0.8 |
| 0.645 | 7.0 | 21 | 0.2074 | 0.9730 | 0.9481 | 0.9667 | 0.9444 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.8 | 1.0 | 0.8889 | 1.0 | 0.6667 | 0.8 |
| 0.645 | 8.0 | 24 | 0.1252 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.645 | 9.0 | 27 | 0.0844 | 0.9730 | 0.9481 | 0.9667 | 0.9444 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.8 | 1.0 | 0.8889 | 1.0 | 0.6667 | 0.8 |
| 0.1071 | 10.0 | 30 | 0.0723 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.1071 | 11.0 | 33 | 0.0651 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 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0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0016 | 25.0 | 75 | 0.0818 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0016 | 26.0 | 78 | 0.0836 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0012 | 27.0 | 81 | 0.0821 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0012 | 28.0 | 84 | 0.0790 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0012 | 29.0 | 87 | 0.0763 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0011 | 30.0 | 90 | 0.0729 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0011 | 31.0 | 93 | 0.0699 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0011 | 32.0 | 96 | 0.0671 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0011 | 33.0 | 99 | 0.0644 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0009 | 34.0 | 102 | 0.0624 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0009 | 35.0 | 105 | 0.0609 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0009 | 36.0 | 108 | 0.0603 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0009 | 37.0 | 111 | 0.0602 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0009 | 38.0 | 114 | 0.0601 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0009 | 39.0 | 117 | 0.0604 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0008 | 40.0 | 120 | 0.0611 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0008 | 41.0 | 123 | 0.0616 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0008 | 42.0 | 126 | 0.0622 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0008 | 43.0 | 129 | 0.0627 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0008 | 44.0 | 132 | 0.0630 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0008 | 45.0 | 135 | 0.0631 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0008 | 46.0 | 138 | 0.0633 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0008 | 47.0 | 141 | 0.0634 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0008 | 48.0 | 144 | 0.0634 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0008 | 49.0 | 147 | 0.0635 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
| 0.0007 | 50.0 | 150 | 0.0635 | 0.9730 | 0.9429 | 0.9583 | 0.9444 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.6667 | 0.8 |
Framework versions
- Transformers 4.57.1
- Pytorch 2.9.0+cu126
- Datasets 4.0.0
- Tokenizers 0.22.0
- Downloads last month
- 31
Model tree for dacunaq/vit-base-patch32-384-finetuned-humid-classes-25
Base model
google/vit-base-patch32-384Evaluation results
- Accuracy on imagefoldervalidation set self-reported1.000