Instructions to use bombshelll/swin-brain-plane-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bombshelll/swin-brain-plane-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="bombshelll/swin-brain-plane-classification") 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("bombshelll/swin-brain-plane-classification") model = AutoModelForImageClassification.from_pretrained("bombshelll/swin-brain-plane-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files- README.md +10 -10
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -18,8 +18,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss: 0.
|
| 22 |
-
- Accuracy: 0.
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
@@ -53,14 +53,14 @@ The following hyperparameters were used during training:
|
|
| 53 |
|
| 54 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 55 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 56 |
-
| 1.
|
| 57 |
-
|
|
| 58 |
-
|
|
| 59 |
-
| 0.
|
| 60 |
-
|
|
| 61 |
-
| 0.
|
| 62 |
-
| 0.
|
| 63 |
-
| 0.
|
| 64 |
|
| 65 |
|
| 66 |
### Framework versions
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.1849
|
| 22 |
+
- Accuracy: 0.9701
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
|
|
| 53 |
|
| 54 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 55 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 56 |
+
| 1.367 | 0.8 | 2 | 0.9823 | 0.6119 |
|
| 57 |
+
| 0.7325 | 2.0 | 5 | 0.6170 | 0.9254 |
|
| 58 |
+
| 0.8091 | 2.8 | 7 | 0.4608 | 0.9552 |
|
| 59 |
+
| 0.4525 | 4.0 | 10 | 0.3143 | 0.9701 |
|
| 60 |
+
| 0.5039 | 4.8 | 12 | 0.2618 | 0.9701 |
|
| 61 |
+
| 0.2965 | 6.0 | 15 | 0.2194 | 0.9701 |
|
| 62 |
+
| 0.3685 | 6.8 | 17 | 0.1980 | 0.9701 |
|
| 63 |
+
| 0.2178 | 8.0 | 20 | 0.1849 | 0.9701 |
|
| 64 |
|
| 65 |
|
| 66 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 110345908
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f531e461d923e9c03505a62aa97f1b3a74378ccce37b86abdb0b51c32c77d0ee
|
| 3 |
size 110345908
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5240
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a5d508bd033d3f0a51948db40a8fb9196bdc8ec4b9418a1c378e8c1ff3a32e4
|
| 3 |
size 5240
|