Model save
Browse files
README.md
CHANGED
|
@@ -1,14 +1,28 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
-
base_model: facebook/convnextv2-
|
| 4 |
tags:
|
| 5 |
-
- image-classification
|
| 6 |
- generated_from_trainer
|
| 7 |
datasets:
|
| 8 |
- imagefolder
|
|
|
|
|
|
|
| 9 |
model-index:
|
| 10 |
- name: ConvnextV2-base
|
| 11 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -16,7 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 16 |
|
| 17 |
# ConvnextV2-base
|
| 18 |
|
| 19 |
-
This model is a fine-tuned version of [facebook/convnextv2-
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
## Model description
|
| 22 |
|
|
@@ -37,12 +54,28 @@ More information needed
|
|
| 37 |
The following hyperparameters were used during training:
|
| 38 |
- learning_rate: 0.0003
|
| 39 |
- train_batch_size: 32
|
| 40 |
-
- eval_batch_size:
|
| 41 |
- seed: 42
|
| 42 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 43 |
- lr_scheduler_type: linear
|
| 44 |
- num_epochs: 10
|
| 45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
### Framework versions
|
| 47 |
|
| 48 |
- Transformers 4.39.3
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
base_model: facebook/convnextv2-tiny-22k-384
|
| 4 |
tags:
|
|
|
|
| 5 |
- generated_from_trainer
|
| 6 |
datasets:
|
| 7 |
- imagefolder
|
| 8 |
+
metrics:
|
| 9 |
+
- accuracy
|
| 10 |
model-index:
|
| 11 |
- name: ConvnextV2-base
|
| 12 |
+
results:
|
| 13 |
+
- task:
|
| 14 |
+
name: Image Classification
|
| 15 |
+
type: image-classification
|
| 16 |
+
dataset:
|
| 17 |
+
name: imagefolder
|
| 18 |
+
type: imagefolder
|
| 19 |
+
config: default
|
| 20 |
+
split: validation
|
| 21 |
+
args: default
|
| 22 |
+
metrics:
|
| 23 |
+
- name: Accuracy
|
| 24 |
+
type: accuracy
|
| 25 |
+
value: 0.9192460317460317
|
| 26 |
---
|
| 27 |
|
| 28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 30 |
|
| 31 |
# ConvnextV2-base
|
| 32 |
|
| 33 |
+
This model is a fine-tuned version of [facebook/convnextv2-tiny-22k-384](https://huggingface.co/facebook/convnextv2-tiny-22k-384) on the imagefolder dataset.
|
| 34 |
+
It achieves the following results on the evaluation set:
|
| 35 |
+
- Loss: 0.4650
|
| 36 |
+
- Accuracy: 0.9192
|
| 37 |
|
| 38 |
## Model description
|
| 39 |
|
|
|
|
| 54 |
The following hyperparameters were used during training:
|
| 55 |
- learning_rate: 0.0003
|
| 56 |
- train_batch_size: 32
|
| 57 |
+
- eval_batch_size: 16
|
| 58 |
- seed: 42
|
| 59 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 60 |
- lr_scheduler_type: linear
|
| 61 |
- num_epochs: 10
|
| 62 |
|
| 63 |
+
### Training results
|
| 64 |
+
|
| 65 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 66 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 67 |
+
| 0.5453 | 1.0 | 550 | 0.5385 | 0.8465 |
|
| 68 |
+
| 0.3201 | 2.0 | 1100 | 0.5494 | 0.8465 |
|
| 69 |
+
| 0.1818 | 3.0 | 1650 | 0.4973 | 0.8732 |
|
| 70 |
+
| 0.0974 | 4.0 | 2200 | 0.5644 | 0.8652 |
|
| 71 |
+
| 0.059 | 5.0 | 2750 | 0.5624 | 0.8891 |
|
| 72 |
+
| 0.0371 | 6.0 | 3300 | 0.6428 | 0.8755 |
|
| 73 |
+
| 0.0118 | 7.0 | 3850 | 0.5426 | 0.9026 |
|
| 74 |
+
| 0.0169 | 8.0 | 4400 | 0.4927 | 0.9161 |
|
| 75 |
+
| 0.0103 | 9.0 | 4950 | 0.5011 | 0.9105 |
|
| 76 |
+
| 0.0017 | 10.0 | 5500 | 0.4820 | 0.9165 |
|
| 77 |
+
|
| 78 |
+
|
| 79 |
### Framework versions
|
| 80 |
|
| 81 |
- Transformers 4.39.3
|
runs/May21_07-05-08_4c3fb2c5458c/events.out.tfevents.1716286429.4c3fb2c5458c.25.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df754283b865a15a226272a929746b57975eb1840dcab7845cadd2d3b40ea04e
|
| 3 |
+
size 411
|