benjamintli commited on
Commit
f3ff090
·
verified ·
1 Parent(s): a16b523

Training in progress, epoch 3, checkpoint

Browse files
checkpoint-4908/config.json ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "silu",
4
+ "anchor_image_size": null,
5
+ "architectures": [
6
+ "RTDetrV2ForObjectDetection"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "auxiliary_loss": true,
10
+ "backbone": null,
11
+ "backbone_config": {
12
+ "depths": [
13
+ 2,
14
+ 2,
15
+ 2,
16
+ 2
17
+ ],
18
+ "downsample_in_bottleneck": false,
19
+ "downsample_in_first_stage": false,
20
+ "dtype": "float32",
21
+ "embedding_size": 64,
22
+ "hidden_act": "relu",
23
+ "hidden_sizes": [
24
+ 64,
25
+ 128,
26
+ 256,
27
+ 512
28
+ ],
29
+ "layer_type": "basic",
30
+ "model_type": "rt_detr_resnet",
31
+ "num_channels": 3,
32
+ "out_features": [
33
+ "stage2",
34
+ "stage3",
35
+ "stage4"
36
+ ],
37
+ "out_indices": [
38
+ 2,
39
+ 3,
40
+ 4
41
+ ],
42
+ "stage_names": [
43
+ "stem",
44
+ "stage1",
45
+ "stage2",
46
+ "stage3",
47
+ "stage4"
48
+ ]
49
+ },
50
+ "backbone_kwargs": null,
51
+ "batch_norm_eps": 1e-05,
52
+ "box_noise_scale": 1.0,
53
+ "d_model": 256,
54
+ "decoder_activation_function": "relu",
55
+ "decoder_attention_heads": 8,
56
+ "decoder_ffn_dim": 1024,
57
+ "decoder_in_channels": [
58
+ 256,
59
+ 256,
60
+ 256
61
+ ],
62
+ "decoder_layers": 3,
63
+ "decoder_method": "default",
64
+ "decoder_n_levels": 3,
65
+ "decoder_n_points": 4,
66
+ "decoder_offset_scale": 0.5,
67
+ "disable_custom_kernels": true,
68
+ "dropout": 0.0,
69
+ "dtype": "float32",
70
+ "encode_proj_layers": [
71
+ 2
72
+ ],
73
+ "encoder_activation_function": "gelu",
74
+ "encoder_attention_heads": 8,
75
+ "encoder_ffn_dim": 1024,
76
+ "encoder_hidden_dim": 256,
77
+ "encoder_in_channels": [
78
+ 128,
79
+ 256,
80
+ 512
81
+ ],
82
+ "encoder_layers": 1,
83
+ "eos_coefficient": 0.0001,
84
+ "eval_size": null,
85
+ "feat_strides": [
86
+ 8,
87
+ 16,
88
+ 32
89
+ ],
90
+ "focal_loss_alpha": 0.75,
91
+ "focal_loss_gamma": 2.0,
92
+ "freeze_backbone_batch_norms": true,
93
+ "hidden_expansion": 0.5,
94
+ "id2label": {
95
+ "0": "barcode"
96
+ },
97
+ "initializer_bias_prior_prob": null,
98
+ "initializer_range": 0.01,
99
+ "is_encoder_decoder": true,
100
+ "label2id": {
101
+ "barcode": 0
102
+ },
103
+ "label_noise_ratio": 0.5,
104
+ "layer_norm_eps": 1e-05,
105
+ "learn_initial_query": false,
106
+ "matcher_alpha": 0.25,
107
+ "matcher_bbox_cost": 5.0,
108
+ "matcher_class_cost": 2.0,
109
+ "matcher_gamma": 2.0,
110
+ "matcher_giou_cost": 2.0,
111
+ "model_type": "rt_detr_v2",
112
+ "normalize_before": false,
113
+ "num_denoising": 100,
114
+ "num_feature_levels": 3,
115
+ "num_queries": 300,
116
+ "positional_encoding_temperature": 10000,
117
+ "transformers_version": "4.57.3",
118
+ "use_focal_loss": true,
119
+ "use_pretrained_backbone": false,
120
+ "use_timm_backbone": false,
121
+ "weight_loss_bbox": 5.0,
122
+ "weight_loss_giou": 2.0,
123
+ "weight_loss_vfl": 1.0,
124
+ "with_box_refine": true
125
+ }
checkpoint-4908/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2beaa332e4bde5c11fc19ac5ec1b92b9d010de5f1f796a7511d725b9abb562e1
3
+ size 80498888
checkpoint-4908/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:024da308cff0c6b2577bd6e1d6ae93b7d1b8dc780db784f2691063a3e8409b9e
3
+ size 160838091
checkpoint-4908/preprocessor_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": null,
3
+ "data_format": "channels_first",
4
+ "default_to_square": false,
5
+ "device": null,
6
+ "disable_grouping": null,
7
+ "do_center_crop": null,
8
+ "do_convert_annotations": true,
9
+ "do_convert_rgb": null,
10
+ "do_normalize": false,
11
+ "do_pad": false,
12
+ "do_rescale": true,
13
+ "do_resize": true,
14
+ "format": "coco_detection",
15
+ "image_mean": [
16
+ 0.485,
17
+ 0.456,
18
+ 0.406
19
+ ],
20
+ "image_processor_type": "RTDetrImageProcessorFast",
21
+ "image_std": [
22
+ 0.229,
23
+ 0.224,
24
+ 0.225
25
+ ],
26
+ "input_data_format": null,
27
+ "pad_size": null,
28
+ "resample": 2,
29
+ "rescale_factor": 0.00392156862745098,
30
+ "return_segmentation_masks": null,
31
+ "return_tensors": null,
32
+ "size": {
33
+ "height": 480,
34
+ "width": 480
35
+ }
36
+ }
checkpoint-4908/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:adfb9e0863adec2893c24cf0e82da26541873541722130aac028ab5205a1b8f0
3
+ size 14645
checkpoint-4908/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90eb2a8fd32b9b10b4fb2707118b20eb20ad02e9f615aa363eb72f18bc26e835
3
+ size 1465
checkpoint-4908/trainer_state.json ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 4908,
3
+ "best_metric": 0.6553,
4
+ "best_model_checkpoint": "output/checkpoint-4908",
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 4908,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.3056234718826406,
14
+ "grad_norm": 22.77391815185547,
15
+ "learning_rate": 4.255239520958084e-05,
16
+ "loss": 52.1418,
17
+ "step": 500
18
+ },
19
+ {
20
+ "epoch": 0.6112469437652812,
21
+ "grad_norm": 15.196788787841797,
22
+ "learning_rate": 2.383982035928144e-05,
23
+ "loss": 7.7913,
24
+ "step": 1000
25
+ },
26
+ {
27
+ "epoch": 0.9168704156479217,
28
+ "grad_norm": 13.545781135559082,
29
+ "learning_rate": 5.127245508982037e-06,
30
+ "loss": 7.43,
31
+ "step": 1500
32
+ },
33
+ {
34
+ "epoch": 1.0,
35
+ "eval_loss": 5.054670810699463,
36
+ "eval_map": 0.623,
37
+ "eval_map_50": 0.7756,
38
+ "eval_map_75": 0.6841,
39
+ "eval_map_barcode": 0.623,
40
+ "eval_map_large": 0.6594,
41
+ "eval_map_medium": 0.6674,
42
+ "eval_map_small": 0.2648,
43
+ "eval_mar_1": 0.3542,
44
+ "eval_mar_10": 0.8117,
45
+ "eval_mar_100": 0.8521,
46
+ "eval_mar_100_barcode": 0.8521,
47
+ "eval_mar_large": 0.8749,
48
+ "eval_mar_medium": 0.8552,
49
+ "eval_mar_small": 0.5325,
50
+ "eval_runtime": 71.7672,
51
+ "eval_samples_per_second": 39.071,
52
+ "eval_steps_per_second": 4.891,
53
+ "step": 1636
54
+ },
55
+ {
56
+ "epoch": 1.2224938875305624,
57
+ "grad_norm": 14.290430068969727,
58
+ "learning_rate": 3.921954314720812e-05,
59
+ "loss": 7.2123,
60
+ "step": 2000
61
+ },
62
+ {
63
+ "epoch": 1.528117359413203,
64
+ "grad_norm": 15.990227699279785,
65
+ "learning_rate": 3.6046954314720814e-05,
66
+ "loss": 7.0995,
67
+ "step": 2500
68
+ },
69
+ {
70
+ "epoch": 1.8337408312958434,
71
+ "grad_norm": 11.737943649291992,
72
+ "learning_rate": 3.2874365482233505e-05,
73
+ "loss": 6.9538,
74
+ "step": 3000
75
+ },
76
+ {
77
+ "epoch": 2.0,
78
+ "eval_loss": 4.950796604156494,
79
+ "eval_map": 0.6297,
80
+ "eval_map_50": 0.7829,
81
+ "eval_map_75": 0.6878,
82
+ "eval_map_barcode": 0.6297,
83
+ "eval_map_large": 0.7109,
84
+ "eval_map_medium": 0.6449,
85
+ "eval_map_small": 0.261,
86
+ "eval_mar_1": 0.3612,
87
+ "eval_mar_10": 0.8238,
88
+ "eval_mar_100": 0.8604,
89
+ "eval_mar_100_barcode": 0.8604,
90
+ "eval_mar_large": 0.8794,
91
+ "eval_mar_medium": 0.8624,
92
+ "eval_mar_small": 0.5972,
93
+ "eval_runtime": 67.4554,
94
+ "eval_samples_per_second": 41.568,
95
+ "eval_steps_per_second": 5.203,
96
+ "step": 3272
97
+ },
98
+ {
99
+ "epoch": 2.139364303178484,
100
+ "grad_norm": 14.22537899017334,
101
+ "learning_rate": 2.9701776649746192e-05,
102
+ "loss": 6.8515,
103
+ "step": 3500
104
+ },
105
+ {
106
+ "epoch": 2.444987775061125,
107
+ "grad_norm": 19.026344299316406,
108
+ "learning_rate": 2.6529187817258883e-05,
109
+ "loss": 6.7831,
110
+ "step": 4000
111
+ },
112
+ {
113
+ "epoch": 2.750611246943765,
114
+ "grad_norm": 13.106438636779785,
115
+ "learning_rate": 2.3356598984771574e-05,
116
+ "loss": 6.6733,
117
+ "step": 4500
118
+ },
119
+ {
120
+ "epoch": 3.0,
121
+ "eval_loss": 5.005562782287598,
122
+ "eval_map": 0.6553,
123
+ "eval_map_50": 0.8073,
124
+ "eval_map_75": 0.7122,
125
+ "eval_map_barcode": 0.6553,
126
+ "eval_map_large": 0.7359,
127
+ "eval_map_medium": 0.6782,
128
+ "eval_map_small": 0.2319,
129
+ "eval_mar_1": 0.3481,
130
+ "eval_mar_10": 0.8201,
131
+ "eval_mar_100": 0.8542,
132
+ "eval_mar_100_barcode": 0.8542,
133
+ "eval_mar_large": 0.8712,
134
+ "eval_mar_medium": 0.8573,
135
+ "eval_mar_small": 0.6107,
136
+ "eval_runtime": 62.2135,
137
+ "eval_samples_per_second": 45.071,
138
+ "eval_steps_per_second": 5.642,
139
+ "step": 4908
140
+ }
141
+ ],
142
+ "logging_steps": 500,
143
+ "max_steps": 8180,
144
+ "num_input_tokens_seen": 0,
145
+ "num_train_epochs": 5,
146
+ "save_steps": 500,
147
+ "stateful_callbacks": {
148
+ "TrainerControl": {
149
+ "args": {
150
+ "should_epoch_stop": false,
151
+ "should_evaluate": false,
152
+ "should_log": false,
153
+ "should_save": true,
154
+ "should_training_stop": false
155
+ },
156
+ "attributes": {}
157
+ }
158
+ },
159
+ "total_flos": 3.268295119107072e+18,
160
+ "train_batch_size": 8,
161
+ "trial_name": null,
162
+ "trial_params": null
163
+ }
checkpoint-4908/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b614e8f3b3598fc33e0b4cc64963b79aec4b9857f0dbc4ca1781747b2531cea
3
+ size 5905