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 +14 -12
- model.safetensors +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 |
|
|
@@ -51,16 +51,18 @@ The following hyperparameters were used during training:
|
|
| 51 |
|
| 52 |
### Training results
|
| 53 |
|
| 54 |
-
| Training Loss | Epoch
|
| 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.0669
|
| 22 |
+
- Accuracy: 0.9825
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
|
|
| 51 |
|
| 52 |
### Training results
|
| 53 |
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 55 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
| 56 |
+
| 1.1297 | 0.9412 | 4 | 0.8378 | 0.7807 |
|
| 57 |
+
| 0.7737 | 1.8824 | 8 | 0.4059 | 0.9298 |
|
| 58 |
+
| 0.4514 | 2.8235 | 12 | 0.2630 | 0.9474 |
|
| 59 |
+
| 0.2684 | 4.0 | 17 | 0.1095 | 0.9825 |
|
| 60 |
+
| 0.2184 | 4.9412 | 21 | 0.1291 | 0.9737 |
|
| 61 |
+
| 0.2021 | 5.8824 | 25 | 0.0686 | 0.9825 |
|
| 62 |
+
| 0.2078 | 6.8235 | 29 | 0.0541 | 0.9825 |
|
| 63 |
+
| 0.1107 | 8.0 | 34 | 0.0637 | 0.9825 |
|
| 64 |
+
| 0.1373 | 8.9412 | 38 | 0.0691 | 0.9825 |
|
| 65 |
+
| 0.1381 | 9.4118 | 40 | 0.0669 | 0.9825 |
|
| 66 |
|
| 67 |
|
| 68 |
### 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:ecd9f14949dbe6a69ba22ca8e50d5a9b09ff763d38801e5b3b652985f77e0920
|
| 3 |
size 110345908
|