Upload 3 files
Browse files- config.json +103 -0
- model.safetensors +3 -0
- preprocessor_config.json +17 -0
config.json
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/detr-resnet-50",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"DetrForObjectDetection"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"auxiliary_loss": false,
|
10 |
+
"backbone": "resnet50",
|
11 |
+
"backbone_config": null,
|
12 |
+
"backbone_kwargs": {
|
13 |
+
"in_chans": 3,
|
14 |
+
"out_indices": [
|
15 |
+
1,
|
16 |
+
2,
|
17 |
+
3,
|
18 |
+
4
|
19 |
+
]
|
20 |
+
},
|
21 |
+
"bbox_cost": 5,
|
22 |
+
"bbox_loss_coefficient": 5,
|
23 |
+
"class_cost": 1,
|
24 |
+
"classifier_dropout": 0.0,
|
25 |
+
"d_model": 256,
|
26 |
+
"decoder_attention_heads": 8,
|
27 |
+
"decoder_ffn_dim": 2048,
|
28 |
+
"decoder_layerdrop": 0.0,
|
29 |
+
"decoder_layers": 6,
|
30 |
+
"dice_loss_coefficient": 1,
|
31 |
+
"dilation": false,
|
32 |
+
"dropout": 0.1,
|
33 |
+
"encoder_attention_heads": 8,
|
34 |
+
"encoder_ffn_dim": 2048,
|
35 |
+
"encoder_layerdrop": 0.0,
|
36 |
+
"encoder_layers": 6,
|
37 |
+
"eos_coefficient": 0.1,
|
38 |
+
"giou_cost": 2,
|
39 |
+
"giou_loss_coefficient": 2,
|
40 |
+
"id2label": {
|
41 |
+
"0": "LABEL_0",
|
42 |
+
"1": "LABEL_1",
|
43 |
+
"2": "LABEL_2",
|
44 |
+
"3": "LABEL_3",
|
45 |
+
"4": "LABEL_4",
|
46 |
+
"5": "LABEL_5",
|
47 |
+
"6": "LABEL_6",
|
48 |
+
"7": "LABEL_7",
|
49 |
+
"8": "LABEL_8",
|
50 |
+
"9": "LABEL_9",
|
51 |
+
"10": "LABEL_10",
|
52 |
+
"11": "LABEL_11",
|
53 |
+
"12": "LABEL_12",
|
54 |
+
"13": "LABEL_13",
|
55 |
+
"14": "LABEL_14",
|
56 |
+
"15": "LABEL_15",
|
57 |
+
"16": "LABEL_16",
|
58 |
+
"17": "LABEL_17",
|
59 |
+
"18": "LABEL_18",
|
60 |
+
"19": "LABEL_19",
|
61 |
+
"20": "LABEL_20",
|
62 |
+
"21": "LABEL_21"
|
63 |
+
},
|
64 |
+
"init_std": 0.02,
|
65 |
+
"init_xavier_std": 1.0,
|
66 |
+
"is_encoder_decoder": true,
|
67 |
+
"label2id": {
|
68 |
+
"LABEL_0": 0,
|
69 |
+
"LABEL_1": 1,
|
70 |
+
"LABEL_10": 10,
|
71 |
+
"LABEL_11": 11,
|
72 |
+
"LABEL_12": 12,
|
73 |
+
"LABEL_13": 13,
|
74 |
+
"LABEL_14": 14,
|
75 |
+
"LABEL_15": 15,
|
76 |
+
"LABEL_16": 16,
|
77 |
+
"LABEL_17": 17,
|
78 |
+
"LABEL_18": 18,
|
79 |
+
"LABEL_19": 19,
|
80 |
+
"LABEL_2": 2,
|
81 |
+
"LABEL_20": 20,
|
82 |
+
"LABEL_21": 21,
|
83 |
+
"LABEL_3": 3,
|
84 |
+
"LABEL_4": 4,
|
85 |
+
"LABEL_5": 5,
|
86 |
+
"LABEL_6": 6,
|
87 |
+
"LABEL_7": 7,
|
88 |
+
"LABEL_8": 8,
|
89 |
+
"LABEL_9": 9
|
90 |
+
},
|
91 |
+
"mask_loss_coefficient": 1,
|
92 |
+
"max_position_embeddings": 1024,
|
93 |
+
"model_type": "detr",
|
94 |
+
"num_channels": 3,
|
95 |
+
"num_hidden_layers": 6,
|
96 |
+
"num_queries": 100,
|
97 |
+
"position_embedding_type": "sine",
|
98 |
+
"scale_embedding": false,
|
99 |
+
"torch_dtype": "float32",
|
100 |
+
"transformers_version": "4.41.2",
|
101 |
+
"use_pretrained_backbone": true,
|
102 |
+
"use_timm_backbone": true
|
103 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd357e4842944b00990705711500e6005308de8bb24afba8128afff9678ba492
|
3 |
+
size 166516420
|
preprocessor_config.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_resize": true,
|
4 |
+
"image_processor_type": "DetrImageProcessor",
|
5 |
+
"format": "coco_detection",
|
6 |
+
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"size": {"shortest_edge": 800, "longest_edge": 1333}
|
17 |
+
}
|