Eliahu commited on
Commit
cde8189
1 Parent(s): 3cb5cc5

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-101",
3
+ "architectures": [
4
+ "ResNetForImageClassification"
5
+ ],
6
+ "depths": [
7
+ 3,
8
+ 4,
9
+ 23,
10
+ 3
11
+ ],
12
+ "downsample_in_bottleneck": false,
13
+ "downsample_in_first_stage": false,
14
+ "embedding_size": 64,
15
+ "hidden_act": "relu",
16
+ "hidden_sizes": [
17
+ 256,
18
+ 512,
19
+ 1024,
20
+ 2048
21
+ ],
22
+ "id2label": {
23
+ "0": "LABEL_0",
24
+ "1": "LABEL_1",
25
+ "2": "LABEL_2",
26
+ "3": "LABEL_3",
27
+ "4": "LABEL_4",
28
+ "5": "LABEL_5",
29
+ "6": "LABEL_6",
30
+ "7": "LABEL_7",
31
+ "8": "LABEL_8",
32
+ "9": "LABEL_9",
33
+ "10": "LABEL_10",
34
+ "11": "LABEL_11",
35
+ "12": "LABEL_12",
36
+ "13": "LABEL_13",
37
+ "14": "LABEL_14",
38
+ "15": "LABEL_15",
39
+ "16": "LABEL_16",
40
+ "17": "LABEL_17",
41
+ "18": "LABEL_18",
42
+ "19": "LABEL_19",
43
+ "20": "LABEL_20",
44
+ "21": "LABEL_21",
45
+ "22": "LABEL_22",
46
+ "23": "LABEL_23",
47
+ "24": "LABEL_24",
48
+ "25": "LABEL_25",
49
+ "26": "LABEL_26",
50
+ "27": "LABEL_27",
51
+ "28": "LABEL_28",
52
+ "29": "LABEL_29",
53
+ "30": "LABEL_30",
54
+ "31": "LABEL_31",
55
+ "32": "LABEL_32",
56
+ "33": "LABEL_33",
57
+ "34": "LABEL_34",
58
+ "35": "LABEL_35",
59
+ "36": "LABEL_36",
60
+ "37": "LABEL_37",
61
+ "38": "LABEL_38",
62
+ "39": "LABEL_39",
63
+ "40": "LABEL_40",
64
+ "41": "LABEL_41",
65
+ "42": "LABEL_42",
66
+ "43": "LABEL_43",
67
+ "44": "LABEL_44",
68
+ "45": "LABEL_45",
69
+ "46": "LABEL_46",
70
+ "47": "LABEL_47",
71
+ "48": "LABEL_48",
72
+ "49": "LABEL_49"
73
+ },
74
+ "label2id": {
75
+ "LABEL_0": 0,
76
+ "LABEL_1": 1,
77
+ "LABEL_10": 10,
78
+ "LABEL_11": 11,
79
+ "LABEL_12": 12,
80
+ "LABEL_13": 13,
81
+ "LABEL_14": 14,
82
+ "LABEL_15": 15,
83
+ "LABEL_16": 16,
84
+ "LABEL_17": 17,
85
+ "LABEL_18": 18,
86
+ "LABEL_19": 19,
87
+ "LABEL_2": 2,
88
+ "LABEL_20": 20,
89
+ "LABEL_21": 21,
90
+ "LABEL_22": 22,
91
+ "LABEL_23": 23,
92
+ "LABEL_24": 24,
93
+ "LABEL_25": 25,
94
+ "LABEL_26": 26,
95
+ "LABEL_27": 27,
96
+ "LABEL_28": 28,
97
+ "LABEL_29": 29,
98
+ "LABEL_3": 3,
99
+ "LABEL_30": 30,
100
+ "LABEL_31": 31,
101
+ "LABEL_32": 32,
102
+ "LABEL_33": 33,
103
+ "LABEL_34": 34,
104
+ "LABEL_35": 35,
105
+ "LABEL_36": 36,
106
+ "LABEL_37": 37,
107
+ "LABEL_38": 38,
108
+ "LABEL_39": 39,
109
+ "LABEL_4": 4,
110
+ "LABEL_40": 40,
111
+ "LABEL_41": 41,
112
+ "LABEL_42": 42,
113
+ "LABEL_43": 43,
114
+ "LABEL_44": 44,
115
+ "LABEL_45": 45,
116
+ "LABEL_46": 46,
117
+ "LABEL_47": 47,
118
+ "LABEL_48": 48,
119
+ "LABEL_49": 49,
120
+ "LABEL_5": 5,
121
+ "LABEL_6": 6,
122
+ "LABEL_7": 7,
123
+ "LABEL_8": 8,
124
+ "LABEL_9": 9
125
+ },
126
+ "layer_type": "bottleneck",
127
+ "model_type": "resnet",
128
+ "num_channels": 3,
129
+ "out_features": [
130
+ "stage4"
131
+ ],
132
+ "out_indices": [
133
+ 4
134
+ ],
135
+ "problem_type": "single_label_classification",
136
+ "stage_names": [
137
+ "stem",
138
+ "stage1",
139
+ "stage2",
140
+ "stage3",
141
+ "stage4"
142
+ ],
143
+ "torch_dtype": "float32",
144
+ "transformers_version": "4.44.0"
145
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca23b6fe21786f86ae8b15399f7e0a6fdb0eb75a2abbfd57f9894083247a0910
3
+ size 170916120
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
+ }
trainer_state.json ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.8746666666666667,
3
+ "best_model_checkpoint": "./resnet_finetuned_models_dataset/CIFAR100/50_from_100/microsoft_resnet-101/model_idx_0539/checkpoints/checkpoint-1332",
4
+ "epoch": 4.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1332,
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
+ "grad_norm": 113.79971313476562,
14
+ "learning_rate": 7e-05,
15
+ "loss": 3.4037,
16
+ "step": 333
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.5666666666666667,
21
+ "eval_loss": 2.08650803565979,
22
+ "eval_runtime": 9.3394,
23
+ "eval_samples_per_second": 401.524,
24
+ "eval_steps_per_second": 6.317,
25
+ "step": 333
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "grad_norm": 48.82363510131836,
30
+ "learning_rate": 7e-05,
31
+ "loss": 1.1835,
32
+ "step": 666
33
+ },
34
+ {
35
+ "epoch": 2.0,
36
+ "eval_accuracy": 0.8098666666666666,
37
+ "eval_loss": 0.6989992260932922,
38
+ "eval_runtime": 9.2225,
39
+ "eval_samples_per_second": 406.614,
40
+ "eval_steps_per_second": 6.397,
41
+ "step": 666
42
+ },
43
+ {
44
+ "epoch": 3.0,
45
+ "grad_norm": 63.07221603393555,
46
+ "learning_rate": 7e-05,
47
+ "loss": 0.6322,
48
+ "step": 999
49
+ },
50
+ {
51
+ "epoch": 3.0,
52
+ "eval_accuracy": 0.8514666666666667,
53
+ "eval_loss": 0.5104021430015564,
54
+ "eval_runtime": 9.2757,
55
+ "eval_samples_per_second": 404.283,
56
+ "eval_steps_per_second": 6.361,
57
+ "step": 999
58
+ },
59
+ {
60
+ "epoch": 4.0,
61
+ "grad_norm": 66.16280364990234,
62
+ "learning_rate": 7e-05,
63
+ "loss": 0.4639,
64
+ "step": 1332
65
+ },
66
+ {
67
+ "epoch": 4.0,
68
+ "eval_accuracy": 0.8746666666666667,
69
+ "eval_loss": 0.43885722756385803,
70
+ "eval_runtime": 9.3881,
71
+ "eval_samples_per_second": 399.44,
72
+ "eval_steps_per_second": 6.285,
73
+ "step": 1332
74
+ }
75
+ ],
76
+ "logging_steps": 500,
77
+ "max_steps": 1332,
78
+ "num_input_tokens_seen": 0,
79
+ "num_train_epochs": 4,
80
+ "save_steps": 500,
81
+ "stateful_callbacks": {
82
+ "TrainerControl": {
83
+ "args": {
84
+ "should_epoch_stop": false,
85
+ "should_evaluate": false,
86
+ "should_log": false,
87
+ "should_save": true,
88
+ "should_training_stop": true
89
+ },
90
+ "attributes": {}
91
+ }
92
+ },
93
+ "total_flos": 3.2705716958208e+18,
94
+ "train_batch_size": 64,
95
+ "trial_name": null,
96
+ "trial_params": null
97
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf5b77004c3e7d772e7acb1aa95eab09f5758417c2d19fb76d07c0ff957c26cd
3
+ size 5368