vishalkatheriya18 commited on
Commit
5d17281
·
verified ·
1 Parent(s): 9a2b79f

End of training

Browse files
README.md ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/convnextv2-tiny-1k-224
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ - precision
11
+ model-index:
12
+ - name: convnextv2-tiny-1k-224-finetuned-fullwear-v2
13
+ results:
14
+ - task:
15
+ name: Image Classification
16
+ type: image-classification
17
+ dataset:
18
+ name: imagefolder
19
+ type: imagefolder
20
+ config: default
21
+ split: train
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.8229166666666666
27
+ - name: Precision
28
+ type: precision
29
+ value: 0.8355769851835295
30
+ ---
31
+
32
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
33
+ should probably proofread and complete it, then remove this comment. -->
34
+
35
+ # convnextv2-tiny-1k-224-finetuned-fullwear-v2
36
+
37
+ This model is a fine-tuned version of [facebook/convnextv2-tiny-1k-224](https://huggingface.co/facebook/convnextv2-tiny-1k-224) on the imagefolder dataset.
38
+ It achieves the following results on the evaluation set:
39
+ - Loss: 0.5128
40
+ - Accuracy: 0.8229
41
+ - Precision: 0.8356
42
+
43
+ ## Model description
44
+
45
+ More information needed
46
+
47
+ ## Intended uses & limitations
48
+
49
+ More information needed
50
+
51
+ ## Training and evaluation data
52
+
53
+ More information needed
54
+
55
+ ## Training procedure
56
+
57
+ ### Training hyperparameters
58
+
59
+ The following hyperparameters were used during training:
60
+ - learning_rate: 2e-05
61
+ - train_batch_size: 10
62
+ - eval_batch_size: 4
63
+ - seed: 42
64
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
65
+ - lr_scheduler_type: linear
66
+ - num_epochs: 100
67
+
68
+ ### Training results
69
+
70
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision |
71
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|
72
+ | No log | 1.0 | 116 | 1.8085 | 0.5625 | 0.6486 |
73
+ | No log | 2.0 | 232 | 1.2627 | 0.6771 | 0.7218 |
74
+ | No log | 3.0 | 348 | 1.0071 | 0.6806 | 0.7166 |
75
+ | No log | 4.0 | 464 | 0.8603 | 0.7188 | 0.7466 |
76
+ | 1.3688 | 5.0 | 580 | 0.7240 | 0.7708 | 0.8074 |
77
+ | 1.3688 | 6.0 | 696 | 0.7496 | 0.7535 | 0.7994 |
78
+ | 1.3688 | 7.0 | 812 | 0.5832 | 0.8056 | 0.8176 |
79
+ | 1.3688 | 8.0 | 928 | 0.5809 | 0.7986 | 0.8156 |
80
+ | 0.4904 | 9.0 | 1044 | 0.5456 | 0.7986 | 0.8052 |
81
+ | 0.4904 | 10.0 | 1160 | 0.5833 | 0.7951 | 0.8198 |
82
+ | 0.4904 | 11.0 | 1276 | 0.5782 | 0.7986 | 0.8069 |
83
+ | 0.4904 | 12.0 | 1392 | 0.5128 | 0.8229 | 0.8356 |
84
+ | 0.2966 | 13.0 | 1508 | 0.5421 | 0.8160 | 0.8319 |
85
+ | 0.2966 | 14.0 | 1624 | 0.6090 | 0.7847 | 0.8171 |
86
+ | 0.2966 | 15.0 | 1740 | 0.6090 | 0.8021 | 0.8135 |
87
+
88
+
89
+ ### Framework versions
90
+
91
+ - Transformers 4.44.0
92
+ - Pytorch 2.4.0
93
+ - Datasets 2.21.0
94
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 15.0,
3
+ "eval_accuracy": 0.8229166666666666,
4
+ "eval_loss": 0.5127698183059692,
5
+ "eval_precision": 0.8355769851835295,
6
+ "eval_runtime": 6.0786,
7
+ "eval_samples_per_second": 47.379,
8
+ "eval_steps_per_second": 11.845
9
+ }
config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/convnextv2-tiny-1k-224",
3
+ "architectures": [
4
+ "ConvNextV2ForImageClassification"
5
+ ],
6
+ "depths": [
7
+ 3,
8
+ 3,
9
+ 9,
10
+ 3
11
+ ],
12
+ "drop_path_rate": 0.0,
13
+ "hidden_act": "gelu",
14
+ "hidden_sizes": [
15
+ 96,
16
+ 192,
17
+ 384,
18
+ 768
19
+ ],
20
+ "id2label": {
21
+ "0": "Co_ords",
22
+ "1": "Kaftan",
23
+ "2": "anarkali",
24
+ "3": "cloaks_abaya",
25
+ "4": "dress",
26
+ "5": "dungaree",
27
+ "6": "ethnic",
28
+ "7": "gown",
29
+ "8": "jumpsuit",
30
+ "9": "robe",
31
+ "10": "salwar_suit",
32
+ "11": "saree"
33
+ },
34
+ "image_size": 224,
35
+ "initializer_range": 0.02,
36
+ "label2id": {
37
+ "Co_ords": 0,
38
+ "Kaftan": 1,
39
+ "anarkali": 2,
40
+ "cloaks_abaya": 3,
41
+ "dress": 4,
42
+ "dungaree": 5,
43
+ "ethnic": 6,
44
+ "gown": 7,
45
+ "jumpsuit": 8,
46
+ "robe": 9,
47
+ "salwar_suit": 10,
48
+ "saree": 11
49
+ },
50
+ "layer_norm_eps": 1e-12,
51
+ "model_type": "convnextv2",
52
+ "num_channels": 3,
53
+ "num_stages": 4,
54
+ "out_features": [
55
+ "stage4"
56
+ ],
57
+ "out_indices": [
58
+ 4
59
+ ],
60
+ "patch_size": 4,
61
+ "problem_type": "single_label_classification",
62
+ "stage_names": [
63
+ "stem",
64
+ "stage1",
65
+ "stage2",
66
+ "stage3",
67
+ "stage4"
68
+ ],
69
+ "torch_dtype": "float32",
70
+ "transformers_version": "4.44.0"
71
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 15.0,
3
+ "eval_accuracy": 0.8229166666666666,
4
+ "eval_loss": 0.5127698183059692,
5
+ "eval_precision": 0.8355769851835295,
6
+ "eval_runtime": 6.0786,
7
+ "eval_samples_per_second": 47.379,
8
+ "eval_steps_per_second": 11.845
9
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3342daefceb5e5ade2a516ab7f53660d10c5f5c5b9c3902545755ac0f7a15718
3
+ size 111526592
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_pct": 0.875,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ConvNextImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "shortest_edge": 224
21
+ }
22
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa3e6ad25aa45a3b894d740bc71acfb046fe352ecad9b2a654955c3bb4b4d3d9
3
+ size 5176