mingyang91 commited on
Commit
9da348a
·
verified ·
1 Parent(s): 9fa1771

Upload ConditionalDetrForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +82 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/conditional-detr-resnet-50",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "ConditionalDetrForObjectDetection"
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": 2,
15
+ "cls_loss_coefficient": 2,
16
+ "d_model": 256,
17
+ "decoder_attention_heads": 8,
18
+ "decoder_ffn_dim": 2048,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 6,
21
+ "dice_loss_coefficient": 1,
22
+ "dilation": false,
23
+ "dropout": 0.1,
24
+ "encoder_attention_heads": 8,
25
+ "encoder_ffn_dim": 2048,
26
+ "encoder_layerdrop": 0.0,
27
+ "encoder_layers": 6,
28
+ "focal_alpha": 0.25,
29
+ "giou_cost": 2,
30
+ "giou_loss_coefficient": 2,
31
+ "id2label": {
32
+ "0": "LABEL_0",
33
+ "1": "LABEL_1",
34
+ "2": "LABEL_2",
35
+ "3": "LABEL_3",
36
+ "4": "LABEL_4",
37
+ "5": "LABEL_5",
38
+ "6": "LABEL_6",
39
+ "7": "LABEL_7",
40
+ "8": "LABEL_8",
41
+ "9": "LABEL_9",
42
+ "10": "LABEL_10",
43
+ "11": "LABEL_11",
44
+ "12": "LABEL_12",
45
+ "13": "LABEL_13",
46
+ "14": "LABEL_14",
47
+ "15": "LABEL_15"
48
+ },
49
+ "init_std": 0.02,
50
+ "init_xavier_std": 1.0,
51
+ "is_encoder_decoder": true,
52
+ "label2id": {
53
+ "LABEL_0": 0,
54
+ "LABEL_1": 1,
55
+ "LABEL_10": 10,
56
+ "LABEL_11": 11,
57
+ "LABEL_12": 12,
58
+ "LABEL_13": 13,
59
+ "LABEL_14": 14,
60
+ "LABEL_15": 15,
61
+ "LABEL_2": 2,
62
+ "LABEL_3": 3,
63
+ "LABEL_4": 4,
64
+ "LABEL_5": 5,
65
+ "LABEL_6": 6,
66
+ "LABEL_7": 7,
67
+ "LABEL_8": 8,
68
+ "LABEL_9": 9
69
+ },
70
+ "mask_loss_coefficient": 1,
71
+ "max_position_embeddings": 1024,
72
+ "model_type": "conditional_detr",
73
+ "num_channels": 3,
74
+ "num_hidden_layers": 6,
75
+ "num_queries": 300,
76
+ "position_embedding_type": "sine",
77
+ "scale_embedding": false,
78
+ "torch_dtype": "float32",
79
+ "transformers_version": "4.36.2",
80
+ "use_pretrained_backbone": true,
81
+ "use_timm_backbone": true
82
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94a1294f565d0649909704f7baa071691a28880c39eb937b4de0da6c6e8ad983
3
+ size 174091104