Instructions to use andakm/bmw_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use andakm/bmw_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="andakm/bmw_classifier") 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("andakm/bmw_classifier") model = AutoModelForImageClassification.from_pretrained("andakm/bmw_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +12 -12
- tf_model.h5 +1 -1
README.md
CHANGED
|
@@ -15,8 +15,8 @@ probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
-
- Train Loss: 0.
|
| 19 |
-
- Train Accuracy: 0.
|
| 20 |
- Epoch: 9
|
| 21 |
|
| 22 |
## Model description
|
|
@@ -43,16 +43,16 @@ The following hyperparameters were used during training:
|
|
| 43 |
|
| 44 |
| Train Loss | Train Accuracy | Epoch |
|
| 45 |
|:----------:|:--------------:|:-----:|
|
| 46 |
-
| 2.
|
| 47 |
-
| 1.
|
| 48 |
-
| 1.
|
| 49 |
-
| 1.
|
| 50 |
-
| 1.
|
| 51 |
-
| 0.
|
| 52 |
-
| 0.
|
| 53 |
-
| 0.
|
| 54 |
-
| 0.
|
| 55 |
-
| 0.
|
| 56 |
|
| 57 |
|
| 58 |
### Framework versions
|
|
|
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
+
- Train Loss: 0.3962
|
| 19 |
+
- Train Accuracy: 0.7843
|
| 20 |
- Epoch: 9
|
| 21 |
|
| 22 |
## Model description
|
|
|
|
| 43 |
|
| 44 |
| Train Loss | Train Accuracy | Epoch |
|
| 45 |
|:----------:|:--------------:|:-----:|
|
| 46 |
+
| 2.1147 | 0.3725 | 0 |
|
| 47 |
+
| 1.8460 | 0.3529 | 1 |
|
| 48 |
+
| 1.6560 | 0.4412 | 2 |
|
| 49 |
+
| 1.4313 | 0.5294 | 3 |
|
| 50 |
+
| 1.1913 | 0.5784 | 4 |
|
| 51 |
+
| 0.9553 | 0.6078 | 5 |
|
| 52 |
+
| 0.7589 | 0.7941 | 6 |
|
| 53 |
+
| 0.6261 | 0.7255 | 7 |
|
| 54 |
+
| 0.4829 | 0.8039 | 8 |
|
| 55 |
+
| 0.3962 | 0.7843 | 9 |
|
| 56 |
|
| 57 |
|
| 58 |
### Framework versions
|
tf_model.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343494328
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87b15fe458594a447acfc5e84a9d83aa0c198009758a22966fb6a4262081b323
|
| 3 |
size 343494328
|