CRISMARHO commited on
Commit
0620215
1 Parent(s): 83a4309

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - image-classification
6
+ base_model: google/mobilenet_v1_0.75_192
7
+ widget:
8
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
9
+ example_title: Tiger
10
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
11
+ example_title: Teapot
12
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
13
+ example_title: Palace
14
+ ---
15
+
16
+ # Model Trained Using AutoTrain
17
+
18
+ - Problem type: Image Classification
19
+
20
+ ## Validation Metrics
21
+ loss: 0.38206303119659424
22
+
23
+ f1: 1.0
24
+
25
+ precision: 1.0
26
+
27
+ recall: 1.0
28
+
29
+ auc: 1.0
30
+
31
+ accuracy: 1.0
checkpoint-14/config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/mobilenet_v1_0.75_192",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "MobileNetV1ForImageClassification"
6
+ ],
7
+ "classifier_dropout_prob": 0.001,
8
+ "depth_multiplier": 0.75,
9
+ "hidden_act": "relu6",
10
+ "id2label": {
11
+ "0": "maduras",
12
+ "1": "normales"
13
+ },
14
+ "image_size": 192,
15
+ "initializer_range": 0.02,
16
+ "label2id": {
17
+ "maduras": 0,
18
+ "normales": 1
19
+ },
20
+ "layer_norm_eps": 0.001,
21
+ "min_depth": 8,
22
+ "model_type": "mobilenet_v1",
23
+ "num_channels": 3,
24
+ "problem_type": "single_label_classification",
25
+ "tf_padding": true,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.42.2"
28
+ }
checkpoint-14/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:899e4b5c4a20de14bdd751e4e07f22f6333139afca690ed30a429606735e834a
3
+ size 7356136
checkpoint-14/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecbf20982a4548cbba4e123410abdeaf729d3ce779327fc6478dca85ce17cb84
3
+ size 14612026
checkpoint-14/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:908cc3ab0a332c00785147b716670694161b540bf48a2f4186461b8d59fde0bd
3
+ size 13990
checkpoint-14/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e200fbb6bd02c4dc1470681479e3faabf0d3c4cd43d2d471c56f61d7346f325
3
+ size 1064
checkpoint-14/trainer_state.json ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.38206303119659424,
3
+ "best_model_checkpoint": "prueba-banana-imagenes-nuevas/checkpoint-14",
4
+ "epoch": 7.0,
5
+ "eval_steps": 500,
6
+ "global_step": 14,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.5,
13
+ "grad_norm": 10.288914680480957,
14
+ "learning_rate": 2.5e-05,
15
+ "loss": 0.6957,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "grad_norm": 8.035853385925293,
21
+ "learning_rate": 5e-05,
22
+ "loss": 0.602,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 1.0,
27
+ "eval_accuracy": 0.5,
28
+ "eval_auc": 1.0,
29
+ "eval_f1": 0.6666666666666666,
30
+ "eval_loss": 0.6718061566352844,
31
+ "eval_precision": 0.5,
32
+ "eval_recall": 1.0,
33
+ "eval_runtime": 0.1221,
34
+ "eval_samples_per_second": 32.748,
35
+ "eval_steps_per_second": 8.187,
36
+ "step": 2
37
+ },
38
+ {
39
+ "epoch": 1.5,
40
+ "grad_norm": 13.615735054016113,
41
+ "learning_rate": 4.722222222222222e-05,
42
+ "loss": 0.7948,
43
+ "step": 3
44
+ },
45
+ {
46
+ "epoch": 2.0,
47
+ "grad_norm": 9.67868423461914,
48
+ "learning_rate": 4.4444444444444447e-05,
49
+ "loss": 0.6009,
50
+ "step": 4
51
+ },
52
+ {
53
+ "epoch": 2.0,
54
+ "eval_accuracy": 0.75,
55
+ "eval_auc": 1.0,
56
+ "eval_f1": 0.8,
57
+ "eval_loss": 0.6003357172012329,
58
+ "eval_precision": 0.6666666666666666,
59
+ "eval_recall": 1.0,
60
+ "eval_runtime": 0.1325,
61
+ "eval_samples_per_second": 30.189,
62
+ "eval_steps_per_second": 7.547,
63
+ "step": 4
64
+ },
65
+ {
66
+ "epoch": 2.5,
67
+ "grad_norm": 8.682611465454102,
68
+ "learning_rate": 4.166666666666667e-05,
69
+ "loss": 0.6701,
70
+ "step": 5
71
+ },
72
+ {
73
+ "epoch": 3.0,
74
+ "grad_norm": 7.807046413421631,
75
+ "learning_rate": 3.888888888888889e-05,
76
+ "loss": 0.5369,
77
+ "step": 6
78
+ },
79
+ {
80
+ "epoch": 3.0,
81
+ "eval_accuracy": 0.5,
82
+ "eval_auc": 1.0,
83
+ "eval_f1": 0.6666666666666666,
84
+ "eval_loss": 0.6877499222755432,
85
+ "eval_precision": 0.5,
86
+ "eval_recall": 1.0,
87
+ "eval_runtime": 0.0994,
88
+ "eval_samples_per_second": 40.225,
89
+ "eval_steps_per_second": 10.056,
90
+ "step": 6
91
+ },
92
+ {
93
+ "epoch": 3.5,
94
+ "grad_norm": 6.095839023590088,
95
+ "learning_rate": 3.611111111111111e-05,
96
+ "loss": 0.4062,
97
+ "step": 7
98
+ },
99
+ {
100
+ "epoch": 4.0,
101
+ "grad_norm": 8.106596946716309,
102
+ "learning_rate": 3.3333333333333335e-05,
103
+ "loss": 0.438,
104
+ "step": 8
105
+ },
106
+ {
107
+ "epoch": 4.0,
108
+ "eval_accuracy": 0.75,
109
+ "eval_auc": 1.0,
110
+ "eval_f1": 0.8,
111
+ "eval_loss": 0.5389858484268188,
112
+ "eval_precision": 0.6666666666666666,
113
+ "eval_recall": 1.0,
114
+ "eval_runtime": 0.103,
115
+ "eval_samples_per_second": 38.829,
116
+ "eval_steps_per_second": 9.707,
117
+ "step": 8
118
+ },
119
+ {
120
+ "epoch": 4.5,
121
+ "grad_norm": 5.948585510253906,
122
+ "learning_rate": 3.055555555555556e-05,
123
+ "loss": 0.4009,
124
+ "step": 9
125
+ },
126
+ {
127
+ "epoch": 5.0,
128
+ "grad_norm": 7.590129375457764,
129
+ "learning_rate": 2.777777777777778e-05,
130
+ "loss": 0.4213,
131
+ "step": 10
132
+ },
133
+ {
134
+ "epoch": 5.0,
135
+ "eval_accuracy": 0.5,
136
+ "eval_auc": 1.0,
137
+ "eval_f1": 0.6666666666666666,
138
+ "eval_loss": 0.5665644407272339,
139
+ "eval_precision": 0.5,
140
+ "eval_recall": 1.0,
141
+ "eval_runtime": 0.1013,
142
+ "eval_samples_per_second": 39.484,
143
+ "eval_steps_per_second": 9.871,
144
+ "step": 10
145
+ },
146
+ {
147
+ "epoch": 5.5,
148
+ "grad_norm": 5.17539644241333,
149
+ "learning_rate": 2.5e-05,
150
+ "loss": 0.31,
151
+ "step": 11
152
+ },
153
+ {
154
+ "epoch": 6.0,
155
+ "grad_norm": 5.544110298156738,
156
+ "learning_rate": 2.2222222222222223e-05,
157
+ "loss": 0.3652,
158
+ "step": 12
159
+ },
160
+ {
161
+ "epoch": 6.0,
162
+ "eval_accuracy": 1.0,
163
+ "eval_auc": 1.0,
164
+ "eval_f1": 1.0,
165
+ "eval_loss": 0.4067268967628479,
166
+ "eval_precision": 1.0,
167
+ "eval_recall": 1.0,
168
+ "eval_runtime": 0.1015,
169
+ "eval_samples_per_second": 39.419,
170
+ "eval_steps_per_second": 9.855,
171
+ "step": 12
172
+ },
173
+ {
174
+ "epoch": 6.5,
175
+ "grad_norm": 6.37500524520874,
176
+ "learning_rate": 1.9444444444444445e-05,
177
+ "loss": 0.3307,
178
+ "step": 13
179
+ },
180
+ {
181
+ "epoch": 7.0,
182
+ "grad_norm": 4.819095134735107,
183
+ "learning_rate": 1.6666666666666667e-05,
184
+ "loss": 0.3249,
185
+ "step": 14
186
+ },
187
+ {
188
+ "epoch": 7.0,
189
+ "eval_accuracy": 1.0,
190
+ "eval_auc": 1.0,
191
+ "eval_f1": 1.0,
192
+ "eval_loss": 0.38206303119659424,
193
+ "eval_precision": 1.0,
194
+ "eval_recall": 1.0,
195
+ "eval_runtime": 0.1092,
196
+ "eval_samples_per_second": 36.615,
197
+ "eval_steps_per_second": 9.154,
198
+ "step": 14
199
+ }
200
+ ],
201
+ "logging_steps": 1,
202
+ "max_steps": 20,
203
+ "num_input_tokens_seen": 0,
204
+ "num_train_epochs": 10,
205
+ "save_steps": 500,
206
+ "stateful_callbacks": {
207
+ "EarlyStoppingCallback": {
208
+ "args": {
209
+ "early_stopping_patience": 5,
210
+ "early_stopping_threshold": 0.01
211
+ },
212
+ "attributes": {
213
+ "early_stopping_patience_counter": 0
214
+ }
215
+ },
216
+ "TrainerControl": {
217
+ "args": {
218
+ "should_epoch_stop": false,
219
+ "should_evaluate": false,
220
+ "should_log": false,
221
+ "should_save": true,
222
+ "should_training_stop": false
223
+ },
224
+ "attributes": {}
225
+ }
226
+ },
227
+ "total_flos": 183909368659968.0,
228
+ "train_batch_size": 8,
229
+ "trial_name": null,
230
+ "trial_params": null
231
+ }
checkpoint-14/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:798926ce6af9fbe1f92407a4b707509bb650baf35d1b1604987ecf07a2ecde47
3
+ size 5176
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/mobilenet_v1_0.75_192",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "MobileNetV1ForImageClassification"
6
+ ],
7
+ "classifier_dropout_prob": 0.001,
8
+ "depth_multiplier": 0.75,
9
+ "hidden_act": "relu6",
10
+ "id2label": {
11
+ "0": "maduras",
12
+ "1": "normales"
13
+ },
14
+ "image_size": 192,
15
+ "initializer_range": 0.02,
16
+ "label2id": {
17
+ "maduras": 0,
18
+ "normales": 1
19
+ },
20
+ "layer_norm_eps": 0.001,
21
+ "min_depth": 8,
22
+ "model_type": "mobilenet_v1",
23
+ "num_channels": 3,
24
+ "problem_type": "single_label_classification",
25
+ "tf_padding": true,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.42.2"
28
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:899e4b5c4a20de14bdd751e4e07f22f6333139afca690ed30a429606735e834a
3
+ size 7356136
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 192,
4
+ "width": 192
5
+ },
6
+ "do_center_crop": true,
7
+ "do_normalize": true,
8
+ "do_rescale": true,
9
+ "do_resize": true,
10
+ "image_mean": [
11
+ 0.5,
12
+ 0.5,
13
+ 0.5
14
+ ],
15
+ "image_processor_type": "MobileNetV1ImageProcessor",
16
+ "image_std": [
17
+ 0.5,
18
+ 0.5,
19
+ 0.5
20
+ ],
21
+ "resample": 2,
22
+ "rescale_factor": 0.00392156862745098,
23
+ "size": {
24
+ "shortest_edge": 224
25
+ }
26
+ }
runs/Jul15_17-46-42_r-crismarho-prueba-bananas-nuevas-imagenes-n6v6hwks-9a046-m6y1y/events.out.tfevents.1721065604.r-crismarho-prueba-bananas-nuevas-imagenes-n6v6hwks-9a046-m6y1y.108.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6910940370befe89aa28eb1d55237d7ab4f7757b6668b00b50015d627b5c8554
3
- size 4856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b584e0f526bcae3ca13f3e4f777794a6953fac21081bd35b5d50fc08d7ccb2d3
3
+ size 14434
runs/Jul15_17-46-42_r-crismarho-prueba-bananas-nuevas-imagenes-n6v6hwks-9a046-m6y1y/events.out.tfevents.1721065620.r-crismarho-prueba-bananas-nuevas-imagenes-n6v6hwks-9a046-m6y1y.108.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9858298d6ff05452f7a8f69b380910c674c44024dd0601a86ef030021af9d0e9
3
+ size 597
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:798926ce6af9fbe1f92407a4b707509bb650baf35d1b1604987ecf07a2ecde47
3
+ size 5176
training_params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "prueba-banana-imagenes-nuevas/autotrain-data",
3
+ "model": "google/mobilenet_v1_0.75_192",
4
+ "username": "CRISMARHO",
5
+ "lr": 5e-05,
6
+ "epochs": 10,
7
+ "batch_size": 8,
8
+ "warmup_ratio": 0.1,
9
+ "gradient_accumulation": 1,
10
+ "optimizer": "adamw_torch",
11
+ "scheduler": "linear",
12
+ "weight_decay": 0.0,
13
+ "max_grad_norm": 1.0,
14
+ "seed": 42,
15
+ "train_split": "train",
16
+ "valid_split": "validation",
17
+ "logging_steps": -1,
18
+ "project_name": "prueba-banana-imagenes-nuevas",
19
+ "auto_find_batch_size": false,
20
+ "mixed_precision": "fp16",
21
+ "save_total_limit": 1,
22
+ "push_to_hub": true,
23
+ "eval_strategy": "epoch",
24
+ "image_column": "autotrain_image",
25
+ "target_column": "autotrain_label",
26
+ "log": "tensorboard",
27
+ "early_stopping_patience": 5,
28
+ "early_stopping_threshold": 0.01
29
+ }