Instructions to use nenzilea/car-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nenzilea/car-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nenzilea/car-classification") 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("nenzilea/car-classification") model = AutoModelForImageClassification.from_pretrained("nenzilea/car-classification") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files
README.md
CHANGED
|
@@ -3,9 +3,6 @@ library_name: transformers
|
|
| 3 |
license: apache-2.0
|
| 4 |
base_model: google/vit-base-patch16-224
|
| 5 |
tags:
|
| 6 |
-
- image-classification
|
| 7 |
-
- car
|
| 8 |
-
- stanford-cars
|
| 9 |
- generated_from_trainer
|
| 10 |
metrics:
|
| 11 |
- accuracy
|
|
@@ -19,10 +16,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 19 |
|
| 20 |
# car-classification
|
| 21 |
|
| 22 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on
|
| 23 |
It achieves the following results on the evaluation set:
|
| 24 |
-
- Loss: 0.
|
| 25 |
-
- Accuracy: 0.
|
| 26 |
|
| 27 |
## Model description
|
| 28 |
|
|
@@ -53,11 +50,11 @@ The following hyperparameters were used during training:
|
|
| 53 |
|
| 54 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 55 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 56 |
-
| 1.
|
| 57 |
-
|
|
| 58 |
-
|
|
| 59 |
-
| 0.
|
| 60 |
-
| 0.
|
| 61 |
|
| 62 |
|
| 63 |
### Framework versions
|
|
|
|
| 3 |
license: apache-2.0
|
| 4 |
base_model: google/vit-base-patch16-224
|
| 5 |
tags:
|
|
|
|
|
|
|
|
|
|
| 6 |
- generated_from_trainer
|
| 7 |
metrics:
|
| 8 |
- accuracy
|
|
|
|
| 16 |
|
| 17 |
# car-classification
|
| 18 |
|
| 19 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.8876
|
| 22 |
+
- Accuracy: 0.6706
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
|
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 52 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 53 |
+
| 1.3683 | 1.0 | 128 | 1.1585 | 0.5529 |
|
| 54 |
+
| 1.0935 | 2.0 | 256 | 0.9990 | 0.6627 |
|
| 55 |
+
| 1.0052 | 3.0 | 384 | 0.9340 | 0.6667 |
|
| 56 |
+
| 0.9467 | 4.0 | 512 | 0.9004 | 0.6549 |
|
| 57 |
+
| 0.8865 | 5.0 | 640 | 0.8876 | 0.6706 |
|
| 58 |
|
| 59 |
|
| 60 |
### Framework versions
|