dima806 commited on
Commit
5ef1eba
·
verified ·
1 Parent(s): a9fe439

Upload folder using huggingface_hub

Browse files
checkpoint-4750/config.json ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/house-plant-image-detection",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "African Violet (Saintpaulia ionantha)",
13
+ "1": "Aloe Vera",
14
+ "2": "Anthurium (Anthurium andraeanum)",
15
+ "3": "Areca Palm (Dypsis lutescens)",
16
+ "4": "Asparagus Fern (Asparagus setaceus)",
17
+ "5": "Begonia (Begonia spp.)",
18
+ "6": "Bird of Paradise (Strelitzia reginae)",
19
+ "7": "Birds Nest Fern (Asplenium nidus)",
20
+ "8": "Boston Fern (Nephrolepis exaltata)",
21
+ "9": "Calathea",
22
+ "10": "Cast Iron Plant (Aspidistra elatior)",
23
+ "11": "Chinese Money Plant (Pilea peperomioides)",
24
+ "12": "Chinese evergreen (Aglaonema)",
25
+ "13": "Christmas Cactus (Schlumbergera bridgesii)",
26
+ "14": "Chrysanthemum",
27
+ "15": "Ctenanthe",
28
+ "16": "Daffodils (Narcissus spp.)",
29
+ "17": "Dracaena",
30
+ "18": "Dumb Cane (Dieffenbachia spp.)",
31
+ "19": "Elephant Ear (Alocasia spp.)",
32
+ "20": "English Ivy (Hedera helix)",
33
+ "21": "Hyacinth (Hyacinthus orientalis)",
34
+ "22": "Iron Cross begonia (Begonia masoniana)",
35
+ "23": "Jade plant (Crassula ovata)",
36
+ "24": "Kalanchoe",
37
+ "25": "Lilium (Hemerocallis)",
38
+ "26": "Lily of the valley (Convallaria majalis)",
39
+ "27": "Money Tree (Pachira aquatica)",
40
+ "28": "Monstera Deliciosa (Monstera deliciosa)",
41
+ "29": "Orchid",
42
+ "30": "Parlor Palm (Chamaedorea elegans)",
43
+ "31": "Peace lily",
44
+ "32": "Poinsettia (Euphorbia pulcherrima)",
45
+ "33": "Polka Dot Plant (Hypoestes phyllostachya)",
46
+ "34": "Ponytail Palm (Beaucarnea recurvata)",
47
+ "35": "Pothos (Ivy arum)",
48
+ "36": "Prayer Plant (Maranta leuconeura)",
49
+ "37": "Rattlesnake Plant (Calathea lancifolia)",
50
+ "38": "Rubber Plant (Ficus elastica)",
51
+ "39": "Sago Palm (Cycas revoluta)",
52
+ "40": "Schefflera",
53
+ "41": "Snake plant (Sanseviera)",
54
+ "42": "Tradescantia",
55
+ "43": "Tulip",
56
+ "44": "Venus Flytrap",
57
+ "45": "Yucca",
58
+ "46": "ZZ Plant (Zamioculcas zamiifolia)"
59
+ },
60
+ "image_size": 224,
61
+ "initializer_range": 0.02,
62
+ "intermediate_size": 3072,
63
+ "label2id": {
64
+ "African Violet (Saintpaulia ionantha)": 0,
65
+ "Aloe Vera": 1,
66
+ "Anthurium (Anthurium andraeanum)": 2,
67
+ "Areca Palm (Dypsis lutescens)": 3,
68
+ "Asparagus Fern (Asparagus setaceus)": 4,
69
+ "Begonia (Begonia spp.)": 5,
70
+ "Bird of Paradise (Strelitzia reginae)": 6,
71
+ "Birds Nest Fern (Asplenium nidus)": 7,
72
+ "Boston Fern (Nephrolepis exaltata)": 8,
73
+ "Calathea": 9,
74
+ "Cast Iron Plant (Aspidistra elatior)": 10,
75
+ "Chinese Money Plant (Pilea peperomioides)": 11,
76
+ "Chinese evergreen (Aglaonema)": 12,
77
+ "Christmas Cactus (Schlumbergera bridgesii)": 13,
78
+ "Chrysanthemum": 14,
79
+ "Ctenanthe": 15,
80
+ "Daffodils (Narcissus spp.)": 16,
81
+ "Dracaena": 17,
82
+ "Dumb Cane (Dieffenbachia spp.)": 18,
83
+ "Elephant Ear (Alocasia spp.)": 19,
84
+ "English Ivy (Hedera helix)": 20,
85
+ "Hyacinth (Hyacinthus orientalis)": 21,
86
+ "Iron Cross begonia (Begonia masoniana)": 22,
87
+ "Jade plant (Crassula ovata)": 23,
88
+ "Kalanchoe": 24,
89
+ "Lilium (Hemerocallis)": 25,
90
+ "Lily of the valley (Convallaria majalis)": 26,
91
+ "Money Tree (Pachira aquatica)": 27,
92
+ "Monstera Deliciosa (Monstera deliciosa)": 28,
93
+ "Orchid": 29,
94
+ "Parlor Palm (Chamaedorea elegans)": 30,
95
+ "Peace lily": 31,
96
+ "Poinsettia (Euphorbia pulcherrima)": 32,
97
+ "Polka Dot Plant (Hypoestes phyllostachya)": 33,
98
+ "Ponytail Palm (Beaucarnea recurvata)": 34,
99
+ "Pothos (Ivy arum)": 35,
100
+ "Prayer Plant (Maranta leuconeura)": 36,
101
+ "Rattlesnake Plant (Calathea lancifolia)": 37,
102
+ "Rubber Plant (Ficus elastica)": 38,
103
+ "Sago Palm (Cycas revoluta)": 39,
104
+ "Schefflera": 40,
105
+ "Snake plant (Sanseviera)": 41,
106
+ "Tradescantia": 42,
107
+ "Tulip": 43,
108
+ "Venus Flytrap": 44,
109
+ "Yucca": 45,
110
+ "ZZ Plant (Zamioculcas zamiifolia)": 46
111
+ },
112
+ "layer_norm_eps": 1e-12,
113
+ "model_type": "vit",
114
+ "num_attention_heads": 12,
115
+ "num_channels": 3,
116
+ "num_hidden_layers": 12,
117
+ "patch_size": 16,
118
+ "problem_type": "single_label_classification",
119
+ "qkv_bias": true,
120
+ "torch_dtype": "float32",
121
+ "transformers_version": "4.44.2"
122
+ }
checkpoint-4750/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e2dce075dc8264926d97f5097da9e00d11a29e94ef6d0334c7260e8dc847df2
3
+ size 343362404
checkpoint-4750/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ac71543e83afeb748bfe7468d001fc70ecada9468adc3042377dfe825a041cb
3
+ size 686845626
checkpoint-4750/preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "width": 224
21
+ }
22
+ }
checkpoint-4750/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b393dbc74cb1fdc5ab0609243263162dbf2136ed397554d23e55570ecaef68f7
3
+ size 14244
checkpoint-4750/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:285807ff6f87cdd0a02389e2391e9592ed4020086e5d10939d8842749b861a17
3
+ size 1064
checkpoint-4750/trainer_state.json ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 2.9626526832580566,
3
+ "best_model_checkpoint": "house-plant-image-detection/checkpoint-4750",
4
+ "epoch": 10.0,
5
+ "eval_steps": 500,
6
+ "global_step": 4750,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_accuracy": 0.7829090191434774,
14
+ "eval_loss": 3.274250030517578,
15
+ "eval_model_preparation_time": 0.0054,
16
+ "eval_runtime": 431.1188,
17
+ "eval_samples_per_second": 23.506,
18
+ "eval_steps_per_second": 2.939,
19
+ "step": 475
20
+ },
21
+ {
22
+ "epoch": 1.0526315789473684,
23
+ "grad_norm": 1.5620105266571045,
24
+ "learning_rate": 6.329787234042553e-07,
25
+ "loss": 3.2644,
26
+ "step": 500
27
+ },
28
+ {
29
+ "epoch": 2.0,
30
+ "eval_accuracy": 0.8028419182948491,
31
+ "eval_loss": 3.2079219818115234,
32
+ "eval_model_preparation_time": 0.0054,
33
+ "eval_runtime": 429.2124,
34
+ "eval_samples_per_second": 23.611,
35
+ "eval_steps_per_second": 2.952,
36
+ "step": 950
37
+ },
38
+ {
39
+ "epoch": 2.1052631578947367,
40
+ "grad_norm": 1.4659667015075684,
41
+ "learning_rate": 5.585106382978723e-07,
42
+ "loss": 3.1878,
43
+ "step": 1000
44
+ },
45
+ {
46
+ "epoch": 3.0,
47
+ "eval_accuracy": 0.8171501874876653,
48
+ "eval_loss": 3.1499454975128174,
49
+ "eval_model_preparation_time": 0.0054,
50
+ "eval_runtime": 428.1214,
51
+ "eval_samples_per_second": 23.671,
52
+ "eval_steps_per_second": 2.959,
53
+ "step": 1425
54
+ },
55
+ {
56
+ "epoch": 3.1578947368421053,
57
+ "grad_norm": 1.603775143623352,
58
+ "learning_rate": 4.840425531914894e-07,
59
+ "loss": 3.118,
60
+ "step": 1500
61
+ },
62
+ {
63
+ "epoch": 4.0,
64
+ "eval_accuracy": 0.8248470495362147,
65
+ "eval_loss": 3.099377393722534,
66
+ "eval_model_preparation_time": 0.0054,
67
+ "eval_runtime": 426.1632,
68
+ "eval_samples_per_second": 23.78,
69
+ "eval_steps_per_second": 2.973,
70
+ "step": 1900
71
+ },
72
+ {
73
+ "epoch": 4.2105263157894735,
74
+ "grad_norm": 1.6411057710647583,
75
+ "learning_rate": 4.0957446808510637e-07,
76
+ "loss": 3.0627,
77
+ "step": 2000
78
+ },
79
+ {
80
+ "epoch": 5.0,
81
+ "eval_accuracy": 0.8316558121176238,
82
+ "eval_loss": 3.0566673278808594,
83
+ "eval_model_preparation_time": 0.0054,
84
+ "eval_runtime": 429.8749,
85
+ "eval_samples_per_second": 23.574,
86
+ "eval_steps_per_second": 2.947,
87
+ "step": 2375
88
+ },
89
+ {
90
+ "epoch": 5.2631578947368425,
91
+ "grad_norm": 1.6472663879394531,
92
+ "learning_rate": 3.3510638297872343e-07,
93
+ "loss": 3.0104,
94
+ "step": 2500
95
+ },
96
+ {
97
+ "epoch": 6.0,
98
+ "eval_accuracy": 0.835800276297612,
99
+ "eval_loss": 3.0226495265960693,
100
+ "eval_model_preparation_time": 0.0054,
101
+ "eval_runtime": 433.9596,
102
+ "eval_samples_per_second": 23.352,
103
+ "eval_steps_per_second": 2.92,
104
+ "step": 2850
105
+ },
106
+ {
107
+ "epoch": 6.315789473684211,
108
+ "grad_norm": 1.7341008186340332,
109
+ "learning_rate": 2.606382978723404e-07,
110
+ "loss": 2.9695,
111
+ "step": 3000
112
+ },
113
+ {
114
+ "epoch": 7.0,
115
+ "eval_accuracy": 0.8404381290704559,
116
+ "eval_loss": 2.9962480068206787,
117
+ "eval_model_preparation_time": 0.0054,
118
+ "eval_runtime": 432.5356,
119
+ "eval_samples_per_second": 23.429,
120
+ "eval_steps_per_second": 2.929,
121
+ "step": 3325
122
+ },
123
+ {
124
+ "epoch": 7.368421052631579,
125
+ "grad_norm": 1.8458765745162964,
126
+ "learning_rate": 1.8617021276595742e-07,
127
+ "loss": 2.9413,
128
+ "step": 3500
129
+ },
130
+ {
131
+ "epoch": 8.0,
132
+ "eval_accuracy": 0.8428063943161634,
133
+ "eval_loss": 2.9772186279296875,
134
+ "eval_model_preparation_time": 0.0054,
135
+ "eval_runtime": 425.4068,
136
+ "eval_samples_per_second": 23.822,
137
+ "eval_steps_per_second": 2.978,
138
+ "step": 3800
139
+ },
140
+ {
141
+ "epoch": 8.421052631578947,
142
+ "grad_norm": 1.627718448638916,
143
+ "learning_rate": 1.1170212765957447e-07,
144
+ "loss": 2.9192,
145
+ "step": 4000
146
+ },
147
+ {
148
+ "epoch": 9.0,
149
+ "eval_accuracy": 0.8439905269390172,
150
+ "eval_loss": 2.9663496017456055,
151
+ "eval_model_preparation_time": 0.0054,
152
+ "eval_runtime": 427.5243,
153
+ "eval_samples_per_second": 23.704,
154
+ "eval_steps_per_second": 2.964,
155
+ "step": 4275
156
+ },
157
+ {
158
+ "epoch": 9.473684210526315,
159
+ "grad_norm": 1.6587204933166504,
160
+ "learning_rate": 3.723404255319149e-08,
161
+ "loss": 2.9038,
162
+ "step": 4500
163
+ },
164
+ {
165
+ "epoch": 10.0,
166
+ "eval_accuracy": 0.844582593250444,
167
+ "eval_loss": 2.9626526832580566,
168
+ "eval_model_preparation_time": 0.0054,
169
+ "eval_runtime": 426.6341,
170
+ "eval_samples_per_second": 23.753,
171
+ "eval_steps_per_second": 2.97,
172
+ "step": 4750
173
+ }
174
+ ],
175
+ "logging_steps": 500,
176
+ "max_steps": 4750,
177
+ "num_input_tokens_seen": 0,
178
+ "num_train_epochs": 10,
179
+ "save_steps": 500,
180
+ "stateful_callbacks": {
181
+ "TrainerControl": {
182
+ "args": {
183
+ "should_epoch_stop": false,
184
+ "should_evaluate": false,
185
+ "should_log": false,
186
+ "should_save": true,
187
+ "should_training_stop": true
188
+ },
189
+ "attributes": {}
190
+ }
191
+ },
192
+ "total_flos": 1.1782757816533832e+19,
193
+ "train_batch_size": 32,
194
+ "trial_name": null,
195
+ "trial_params": null
196
+ }
checkpoint-4750/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42ec4753dffbff690b817bd454c5119744cfc4c75e4286896cac115bd1e65d28
3
+ size 5112
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f4a84832a33db328eea9857cc95bbff810f5b49dfc0365f46e052b530b6f7a4b
3
  size 343362404
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e2dce075dc8264926d97f5097da9e00d11a29e94ef6d0334c7260e8dc847df2
3
  size 343362404
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6e63920ba5ce21a92a47ac4454fc135f2117176a194a1a8d6687090b74121760
3
  size 5112
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42ec4753dffbff690b817bd454c5119744cfc4c75e4286896cac115bd1e65d28
3
  size 5112