Image Classification
Transformers
TensorBoard
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use dacunaq/vit-base-patch32-384-finetuned-humid-classes-24 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-24 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-24") 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-24") model = AutoModelForImageClassification.from_pretrained("dacunaq/vit-base-patch32-384-finetuned-humid-classes-24", device_map="auto") - Notebooks
- Google Colab
- Kaggle
vit-base-patch32-384-finetuned-humid-classes-24
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.0275
- 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.8250 | 0.1892 | 0.1039 | 0.0735 | 0.1786 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.2105 | 0.5714 | 0.3077 | 0.2308 | 0.5 | 0.3158 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| No log | 2.0 | 6 | 1.3823 | 0.5946 | 0.3715 | 0.3896 | 0.4067 | 0.0 | 0.0 | 0.0 | 1.0 | 0.8571 | 0.9231 | 0.4375 | 1.0 | 0.6087 | 0.4 | 0.3333 | 0.3636 | 0.5 | 0.25 | 0.3333 | 0.0 | 0.0 | 0.0 |
| No log | 3.0 | 9 | 1.0376 | 0.6486 | 0.3741 | 0.3172 | 0.4583 | 0.0 | 0.0 | 0.0 | 0.6667 | 1.0 | 0.8 | 0.6364 | 1.0 | 0.7778 | 0.0 | 0.0 | 0.0 | 0.6 | 0.75 | 0.6667 | 0.0 | 0.0 | 0.0 |
| 1.624 | 4.0 | 12 | 0.7148 | 0.7297 | 0.6032 | 0.6690 | 0.625 | 1.0 | 0.6667 | 0.8 | 0.7778 | 1.0 | 0.875 | 0.6364 | 1.0 | 0.7778 | 0.0 | 0.0 | 0.0 | 0.6 | 0.75 | 0.6667 | 1.0 | 0.3333 | 0.5 |
| 1.624 | 5.0 | 15 | 0.5213 | 0.9189 | 0.9163 | 0.9519 | 0.9028 | 1.0 | 1.0 | 1.0 | 0.9333 | 1.0 | 0.9655 | 0.7778 | 1.0 | 0.875 | 1.0 | 0.6667 | 0.8 | 1.0 | 0.75 | 0.8571 | 1.0 | 1.0 | 1.0 |
| 1.624 | 6.0 | 18 | 0.3422 | 0.8919 | 0.8651 | 0.9102 | 0.8472 | 1.0 | 1.0 | 1.0 | 0.9333 | 1.0 | 0.9655 | 0.7778 | 1.0 | 0.875 | 1.0 | 0.6667 | 0.8 | 0.75 | 0.75 | 0.75 | 1.0 | 0.6667 | 0.8 |
| 0.6095 | 7.0 | 21 | 0.2377 | 0.9189 | 0.8831 | 0.9213 | 0.8750 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 0.7778 | 1.0 | 0.875 | 1.0 | 0.8333 | 0.9091 | 1.0 | 0.75 | 0.8571 | 1.0 | 0.6667 | 0.8 |
| 0.6095 | 8.0 | 24 | 0.1298 | 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.6095 | 9.0 | 27 | 0.1288 | 0.9730 | 0.9651 | 0.9792 | 0.9583 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.875 | 1.0 | 0.9333 | 1.0 | 1.0 | 1.0 | 1.0 | 0.75 | 0.8571 | 1.0 | 1.0 | 1.0 |
| 0.1193 | 10.0 | 30 | 0.0587 | 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.1193 | 11.0 | 33 | 0.0837 | 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.1193 | 12.0 | 36 | 0.0935 | 0.9459 | 0.9079 | 0.9375 | 0.9028 | 0.75 | 1.0 | 0.8571 | 1.0 | 1.0 | 1.0 | 0.875 | 1.0 | 0.9333 | 1.0 | 1.0 | 1.0 | 1.0 | 0.75 | 0.8571 | 1.0 | 0.6667 | 0.8 |
| 0.1193 | 13.0 | 39 | 0.0736 | 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.0217 | 14.0 | 42 | 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.0217 | 15.0 | 45 | 0.0621 | 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.0217 | 16.0 | 48 | 0.0344 | 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.0066 | 17.0 | 51 | 0.0279 | 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.0066 | 18.0 | 54 | 0.0678 | 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.0066 | 19.0 | 57 | 0.0990 | 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.0033 | 20.0 | 60 | 0.0932 | 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.0033 | 21.0 | 63 | 0.0469 | 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.0033 | 22.0 | 66 | 0.0409 | 0.9730 | 0.9651 | 0.9792 | 0.9583 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.875 | 1.0 | 0.9333 | 1.0 | 1.0 | 1.0 | 1.0 | 0.75 | 0.8571 | 1.0 | 1.0 | 1.0 |
| 0.0033 | 23.0 | 69 | 0.0275 | 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 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
| 0.0021 | 24.0 | 72 | 0.0197 | 1.0 | 1.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.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 | 31.0 | 93 | 0.0518 | 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 | 32.0 | 96 | 0.0497 | 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 | 33.0 | 99 | 0.0471 | 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.001 | 34.0 | 102 | 0.0452 | 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.001 | 35.0 | 105 | 0.0438 | 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.001 | 36.0 | 108 | 0.0429 | 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.0428 | 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.0433 | 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.0436 | 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 | 40.0 | 120 | 0.0439 | 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 | 41.0 | 123 | 0.0443 | 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 | 42.0 | 126 | 0.0446 | 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 | 43.0 | 129 | 0.0448 | 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.0452 | 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.0455 | 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.0458 | 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.0460 | 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.0461 | 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.0462 | 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 | 50.0 | 150 | 0.0462 | 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
- 33
Model tree for dacunaq/vit-base-patch32-384-finetuned-humid-classes-24
Base model
google/vit-base-patch32-384Evaluation results
- Accuracy on imagefoldervalidation set self-reported1.000