Upload folder using huggingface_hub (#1)
Browse files- Upload folder using huggingface_hub (d51ab4476c63fe66bf54ef794e34fc0f09ee179a)
- config.json +211 -0
- optimizer.pt +3 -0
- preprocessor_config.json +24 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +88 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,211 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": "480370a8aeeed9fc8d78837b4e94e5f936fe73f2",
|
3 |
+
"_name_or_path": "facebook/detr-resnet-50",
|
4 |
+
"activation_dropout": 0.0,
|
5 |
+
"activation_function": "relu",
|
6 |
+
"architectures": [
|
7 |
+
"DetrForObjectDetection"
|
8 |
+
],
|
9 |
+
"attention_dropout": 0.0,
|
10 |
+
"auxiliary_loss": false,
|
11 |
+
"backbone": "resnet50",
|
12 |
+
"backbone_config": null,
|
13 |
+
"bbox_cost": 5,
|
14 |
+
"bbox_loss_coefficient": 5,
|
15 |
+
"class_cost": 1,
|
16 |
+
"classifier_dropout": 0.0,
|
17 |
+
"d_model": 256,
|
18 |
+
"decoder_attention_heads": 8,
|
19 |
+
"decoder_ffn_dim": 2048,
|
20 |
+
"decoder_layerdrop": 0.0,
|
21 |
+
"decoder_layers": 6,
|
22 |
+
"dice_loss_coefficient": 1,
|
23 |
+
"dilation": false,
|
24 |
+
"dropout": 0.1,
|
25 |
+
"encoder_attention_heads": 8,
|
26 |
+
"encoder_ffn_dim": 2048,
|
27 |
+
"encoder_layerdrop": 0.0,
|
28 |
+
"encoder_layers": 6,
|
29 |
+
"eos_coefficient": 0.1,
|
30 |
+
"giou_cost": 2,
|
31 |
+
"giou_loss_coefficient": 2,
|
32 |
+
"id2label": {
|
33 |
+
"0": "person",
|
34 |
+
"1": "bicycle",
|
35 |
+
"2": "car",
|
36 |
+
"3": "motorcycle",
|
37 |
+
"4": "airplane",
|
38 |
+
"5": "bus",
|
39 |
+
"6": "train",
|
40 |
+
"7": "truck",
|
41 |
+
"8": "boat",
|
42 |
+
"9": "traffic light",
|
43 |
+
"10": "fire hydrant",
|
44 |
+
"11": "stop sign",
|
45 |
+
"12": "parking meter",
|
46 |
+
"13": "bench",
|
47 |
+
"14": "bird",
|
48 |
+
"15": "cat",
|
49 |
+
"16": "dog",
|
50 |
+
"17": "horse",
|
51 |
+
"18": "sheep",
|
52 |
+
"19": "cow",
|
53 |
+
"20": "elephant",
|
54 |
+
"21": "bear",
|
55 |
+
"22": "zebra",
|
56 |
+
"23": "giraffe",
|
57 |
+
"24": "backpack",
|
58 |
+
"25": "umbrella",
|
59 |
+
"26": "handbag",
|
60 |
+
"27": "tie",
|
61 |
+
"28": "suitcase",
|
62 |
+
"29": "frisbee",
|
63 |
+
"30": "skis",
|
64 |
+
"31": "snowboard",
|
65 |
+
"32": "sports ball",
|
66 |
+
"33": "kite",
|
67 |
+
"34": "baseball bat",
|
68 |
+
"35": "baseball glove",
|
69 |
+
"36": "skateboard",
|
70 |
+
"37": "surfboard",
|
71 |
+
"38": "tennis racket",
|
72 |
+
"39": "bottle",
|
73 |
+
"40": "wine glass",
|
74 |
+
"41": "cup",
|
75 |
+
"42": "fork",
|
76 |
+
"43": "knife",
|
77 |
+
"44": "spoon",
|
78 |
+
"45": "bowl",
|
79 |
+
"46": "banana",
|
80 |
+
"47": "apple",
|
81 |
+
"48": "sandwich",
|
82 |
+
"49": "orange",
|
83 |
+
"50": "broccoli",
|
84 |
+
"51": "carrot",
|
85 |
+
"52": "hot dog",
|
86 |
+
"53": "pizza",
|
87 |
+
"54": "donut",
|
88 |
+
"55": "cake",
|
89 |
+
"56": "chair",
|
90 |
+
"57": "couch",
|
91 |
+
"58": "potted plant",
|
92 |
+
"59": "bed",
|
93 |
+
"60": "dining table",
|
94 |
+
"61": "toilet",
|
95 |
+
"62": "tv",
|
96 |
+
"63": "laptop",
|
97 |
+
"64": "mouse",
|
98 |
+
"65": "remote",
|
99 |
+
"66": "keyboard",
|
100 |
+
"67": "cell phone",
|
101 |
+
"68": "microwave",
|
102 |
+
"69": "oven",
|
103 |
+
"70": "toaster",
|
104 |
+
"71": "sink",
|
105 |
+
"72": "refrigerator",
|
106 |
+
"73": "book",
|
107 |
+
"74": "clock",
|
108 |
+
"75": "vase",
|
109 |
+
"76": "scissors",
|
110 |
+
"77": "teddy bear",
|
111 |
+
"78": "hair drier",
|
112 |
+
"79": "toothbrush"
|
113 |
+
},
|
114 |
+
"init_std": 0.02,
|
115 |
+
"init_xavier_std": 1.0,
|
116 |
+
"is_encoder_decoder": true,
|
117 |
+
"label2id": {
|
118 |
+
"airplane": 4,
|
119 |
+
"apple": 47,
|
120 |
+
"backpack": 24,
|
121 |
+
"banana": 46,
|
122 |
+
"baseball bat": 34,
|
123 |
+
"baseball glove": 35,
|
124 |
+
"bear": 21,
|
125 |
+
"bed": 59,
|
126 |
+
"bench": 13,
|
127 |
+
"bicycle": 1,
|
128 |
+
"bird": 14,
|
129 |
+
"boat": 8,
|
130 |
+
"book": 73,
|
131 |
+
"bottle": 39,
|
132 |
+
"bowl": 45,
|
133 |
+
"broccoli": 50,
|
134 |
+
"bus": 5,
|
135 |
+
"cake": 55,
|
136 |
+
"car": 2,
|
137 |
+
"carrot": 51,
|
138 |
+
"cat": 15,
|
139 |
+
"cell phone": 67,
|
140 |
+
"chair": 56,
|
141 |
+
"clock": 74,
|
142 |
+
"couch": 57,
|
143 |
+
"cow": 19,
|
144 |
+
"cup": 41,
|
145 |
+
"dining table": 60,
|
146 |
+
"dog": 16,
|
147 |
+
"donut": 54,
|
148 |
+
"elephant": 20,
|
149 |
+
"fire hydrant": 10,
|
150 |
+
"fork": 42,
|
151 |
+
"frisbee": 29,
|
152 |
+
"giraffe": 23,
|
153 |
+
"hair drier": 78,
|
154 |
+
"handbag": 26,
|
155 |
+
"horse": 17,
|
156 |
+
"hot dog": 52,
|
157 |
+
"keyboard": 66,
|
158 |
+
"kite": 33,
|
159 |
+
"knife": 43,
|
160 |
+
"laptop": 63,
|
161 |
+
"microwave": 68,
|
162 |
+
"motorcycle": 3,
|
163 |
+
"mouse": 64,
|
164 |
+
"orange": 49,
|
165 |
+
"oven": 69,
|
166 |
+
"parking meter": 12,
|
167 |
+
"person": 0,
|
168 |
+
"pizza": 53,
|
169 |
+
"potted plant": 58,
|
170 |
+
"refrigerator": 72,
|
171 |
+
"remote": 65,
|
172 |
+
"sandwich": 48,
|
173 |
+
"scissors": 76,
|
174 |
+
"sheep": 18,
|
175 |
+
"sink": 71,
|
176 |
+
"skateboard": 36,
|
177 |
+
"skis": 30,
|
178 |
+
"snowboard": 31,
|
179 |
+
"spoon": 44,
|
180 |
+
"sports ball": 32,
|
181 |
+
"stop sign": 11,
|
182 |
+
"suitcase": 28,
|
183 |
+
"surfboard": 37,
|
184 |
+
"teddy bear": 77,
|
185 |
+
"tennis racket": 38,
|
186 |
+
"tie": 27,
|
187 |
+
"toaster": 70,
|
188 |
+
"toilet": 61,
|
189 |
+
"toothbrush": 79,
|
190 |
+
"traffic light": 9,
|
191 |
+
"train": 6,
|
192 |
+
"truck": 7,
|
193 |
+
"tv": 62,
|
194 |
+
"umbrella": 25,
|
195 |
+
"vase": 75,
|
196 |
+
"wine glass": 40,
|
197 |
+
"zebra": 22
|
198 |
+
},
|
199 |
+
"mask_loss_coefficient": 1,
|
200 |
+
"max_position_embeddings": 1024,
|
201 |
+
"model_type": "detr",
|
202 |
+
"num_channels": 3,
|
203 |
+
"num_hidden_layers": 6,
|
204 |
+
"num_queries": 100,
|
205 |
+
"position_embedding_type": "sine",
|
206 |
+
"scale_embedding": false,
|
207 |
+
"torch_dtype": "float32",
|
208 |
+
"transformers_version": "4.7.0.dev0",
|
209 |
+
"use_pretrained_backbone": true,
|
210 |
+
"use_timm_backbone": true
|
211 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2396545c7dc0d211f2ce71436e1e65a0af4bbc1f3ef27ab0cbb9f6c1a39849fb
|
3 |
+
size 330638661
|
preprocessor_config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_pad": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"format": "coco_detection",
|
7 |
+
"image_mean": [
|
8 |
+
0.485,
|
9 |
+
0.456,
|
10 |
+
0.406
|
11 |
+
],
|
12 |
+
"image_processor_type": "DetrImageProcessor",
|
13 |
+
"image_std": [
|
14 |
+
0.229,
|
15 |
+
0.224,
|
16 |
+
0.225
|
17 |
+
],
|
18 |
+
"resample": 2,
|
19 |
+
"rescale_factor": 0.00392156862745098,
|
20 |
+
"size": {
|
21 |
+
"longest_edge": 1333,
|
22 |
+
"shortest_edge": 800
|
23 |
+
}
|
24 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c29308231671b6b6fe5abfb809c0d2e147ecd20665484f753a9661b4b60e5d1d
|
3 |
+
size 166697317
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e32c6fba5645bb2cd04342a9ac722cf2b9abf0023b43ca65369d903e30b963d3
|
3 |
+
size 14575
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2994210fc5e7bac9ae461e4f753a42f46b387c47e9cae6be02ea4cb86e2f16dc
|
3 |
+
size 627
|
trainer_state.json
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.9508716323296355,
|
5 |
+
"global_step": 600,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.08,
|
12 |
+
"learning_rate": 9.318541996830429e-06,
|
13 |
+
"loss": 6.4989,
|
14 |
+
"step": 50
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.16,
|
18 |
+
"learning_rate": 8.526148969889065e-06,
|
19 |
+
"loss": 5.7137,
|
20 |
+
"step": 100
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.24,
|
24 |
+
"learning_rate": 7.733755942947703e-06,
|
25 |
+
"loss": 5.4966,
|
26 |
+
"step": 150
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.32,
|
30 |
+
"learning_rate": 6.973058637083995e-06,
|
31 |
+
"loss": 5.2454,
|
32 |
+
"step": 200
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.4,
|
36 |
+
"learning_rate": 6.180665610142631e-06,
|
37 |
+
"loss": 4.7898,
|
38 |
+
"step": 250
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.48,
|
42 |
+
"learning_rate": 5.3882725832012685e-06,
|
43 |
+
"loss": 4.5389,
|
44 |
+
"step": 300
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.55,
|
48 |
+
"learning_rate": 4.595879556259905e-06,
|
49 |
+
"loss": 4.0363,
|
50 |
+
"step": 350
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 0.63,
|
54 |
+
"learning_rate": 3.8034865293185427e-06,
|
55 |
+
"loss": 4.009,
|
56 |
+
"step": 400
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 0.71,
|
60 |
+
"learning_rate": 3.0110935023771793e-06,
|
61 |
+
"loss": 3.855,
|
62 |
+
"step": 450
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 0.79,
|
66 |
+
"learning_rate": 2.2187004754358164e-06,
|
67 |
+
"loss": 3.8576,
|
68 |
+
"step": 500
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 0.87,
|
72 |
+
"learning_rate": 1.4263074484944533e-06,
|
73 |
+
"loss": 4.0199,
|
74 |
+
"step": 550
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 0.95,
|
78 |
+
"learning_rate": 6.339144215530904e-07,
|
79 |
+
"loss": 3.577,
|
80 |
+
"step": 600
|
81 |
+
}
|
82 |
+
],
|
83 |
+
"max_steps": 631,
|
84 |
+
"num_train_epochs": 1,
|
85 |
+
"total_flos": 3.960666495391154e+17,
|
86 |
+
"trial_name": null,
|
87 |
+
"trial_params": null
|
88 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b59e43b85b3ad45b164090d8258020f484852b7fcb6cd0ec1b191bf7fa669f0
|
3 |
+
size 3963
|