Upload DeformableDetrForObjectDetection
Browse files- config.json +61 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "SenseTime/deformable-detr",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"DeformableDetrForObjectDetection"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"auxiliary_loss": false,
|
10 |
+
"backbone": "resnet50",
|
11 |
+
"backbone_config": null,
|
12 |
+
"bbox_cost": 5,
|
13 |
+
"bbox_loss_coefficient": 5,
|
14 |
+
"class_cost": 1,
|
15 |
+
"d_model": 256,
|
16 |
+
"decoder_attention_heads": 8,
|
17 |
+
"decoder_ffn_dim": 1024,
|
18 |
+
"decoder_layerdrop": 0.0,
|
19 |
+
"decoder_layers": 6,
|
20 |
+
"decoder_n_points": 4,
|
21 |
+
"dice_loss_coefficient": 1,
|
22 |
+
"dilation": false,
|
23 |
+
"disable_custom_kernels": false,
|
24 |
+
"dropout": 0.1,
|
25 |
+
"encoder_attention_heads": 8,
|
26 |
+
"encoder_ffn_dim": 1024,
|
27 |
+
"encoder_layerdrop": 0.0,
|
28 |
+
"encoder_layers": 6,
|
29 |
+
"encoder_n_points": 4,
|
30 |
+
"eos_coefficient": 0.1,
|
31 |
+
"focal_alpha": 0.25,
|
32 |
+
"giou_cost": 2,
|
33 |
+
"giou_loss_coefficient": 2,
|
34 |
+
"id2label": {
|
35 |
+
"0": "LABEL_0",
|
36 |
+
"1": "LABEL_1",
|
37 |
+
"2": "LABEL_2"
|
38 |
+
},
|
39 |
+
"init_std": 0.02,
|
40 |
+
"init_xavier_std": 1.0,
|
41 |
+
"is_encoder_decoder": true,
|
42 |
+
"label2id": {
|
43 |
+
"LABEL_0": 0,
|
44 |
+
"LABEL_1": 1,
|
45 |
+
"LABEL_2": 2
|
46 |
+
},
|
47 |
+
"mask_loss_coefficient": 1,
|
48 |
+
"max_position_embeddings": 1024,
|
49 |
+
"model_type": "deformable_detr",
|
50 |
+
"num_channels": 3,
|
51 |
+
"num_feature_levels": 4,
|
52 |
+
"num_queries": 300,
|
53 |
+
"position_embedding_type": "sine",
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.35.2",
|
56 |
+
"two_stage": false,
|
57 |
+
"two_stage_num_proposals": 300,
|
58 |
+
"use_pretrained_backbone": true,
|
59 |
+
"use_timm_backbone": true,
|
60 |
+
"with_box_refine": false
|
61 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:58add62fc01a0f8d53b38ae5cfe9bdbadb65325f2a30e192cec471a5c8b77f5d
|
3 |
+
size 160678516
|