0llheaven commited on
Commit
e333946
·
verified ·
1 Parent(s): 7050b49

Upload ConditionalDetrForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +58 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Pneumonia",
33
+ "1": "Normal",
34
+ "2": "Pneumonia_bacteria",
35
+ "3": "Pneumonia_virus"
36
+ },
37
+ "init_std": 0.02,
38
+ "init_xavier_std": 1.0,
39
+ "is_encoder_decoder": true,
40
+ "label2id": {
41
+ "Normal": 1,
42
+ "Pneumonia": 0,
43
+ "Pneumonia_bacteria": 2,
44
+ "Pneumonia_virus": 3
45
+ },
46
+ "mask_loss_coefficient": 1,
47
+ "max_position_embeddings": 1024,
48
+ "model_type": "conditional_detr",
49
+ "num_channels": 3,
50
+ "num_hidden_layers": 6,
51
+ "num_queries": 300,
52
+ "position_embedding_type": "sine",
53
+ "scale_embedding": false,
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.30.2",
56
+ "use_pretrained_backbone": true,
57
+ "use_timm_backbone": true
58
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44f605dc3855b2c1c4cdabc6706e99591326e42e6dd1dac9f76fb34fa9ed187b
3
+ size 174079312