nielsr HF staff commited on
Commit
c254d1f
1 Parent(s): 478dad0

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +8 -20
config.json CHANGED
@@ -6,24 +6,14 @@
6
  ],
7
  "attention_dropout": 0.0,
8
  "auxiliary_loss": false,
 
9
  "backbone_config": {
10
- "attention_probs_dropout_prob": 0.0,
11
  "depths": [
12
  2,
13
  2,
14
  6,
15
  2
16
  ],
17
- "drop_path_rate": 0.1,
18
- "embed_dim": 96,
19
- "encoder_stride": 32,
20
- "hidden_act": "gelu",
21
- "hidden_dropout_prob": 0.0,
22
- "hidden_size": 768,
23
- "image_size": 224,
24
- "initializer_range": 0.02,
25
- "layer_norm_eps": 1e-05,
26
- "mlp_ratio": 4.0,
27
  "model_type": "swin",
28
  "num_heads": [
29
  3,
@@ -31,7 +21,6 @@
31
  12,
32
  24
33
  ],
34
- "num_layers": 4,
35
  "out_features": [
36
  "stage2",
37
  "stage3",
@@ -41,12 +30,9 @@
41
  2,
42
  3,
43
  4
44
- ],
45
- "patch_size": 4,
46
- "qkv_bias": true,
47
- "use_absolute_embeddings": false,
48
- "window_size": 7
49
  },
 
50
  "bbox_cost": 5.0,
51
  "bbox_loss_coefficient": 5.0,
52
  "class_cost": 1.0,
@@ -79,11 +65,13 @@
79
  "positional_embedding_temperature": 20,
80
  "query_dim": 4,
81
  "text_config": {
82
- "model_type": "grounding-dino-text-prenet"
83
  },
84
  "text_enhancer_dropout": 0.0,
85
  "torch_dtype": "float32",
86
- "transformers_version": "4.38.0.dev0",
87
  "two_stage": true,
88
- "two_stage_bbox_embed_share": false
 
 
89
  }
 
6
  ],
7
  "attention_dropout": 0.0,
8
  "auxiliary_loss": false,
9
+ "backbone": null,
10
  "backbone_config": {
 
11
  "depths": [
12
  2,
13
  2,
14
  6,
15
  2
16
  ],
 
 
 
 
 
 
 
 
 
 
17
  "model_type": "swin",
18
  "num_heads": [
19
  3,
 
21
  12,
22
  24
23
  ],
 
24
  "out_features": [
25
  "stage2",
26
  "stage3",
 
30
  2,
31
  3,
32
  4
33
+ ]
 
 
 
 
34
  },
35
+ "backbone_kwargs": null,
36
  "bbox_cost": 5.0,
37
  "bbox_loss_coefficient": 5.0,
38
  "class_cost": 1.0,
 
65
  "positional_embedding_temperature": 20,
66
  "query_dim": 4,
67
  "text_config": {
68
+ "model_type": "bert"
69
  },
70
  "text_enhancer_dropout": 0.0,
71
  "torch_dtype": "float32",
72
+ "transformers_version": "4.40.0.dev0",
73
  "two_stage": true,
74
+ "two_stage_bbox_embed_share": false,
75
+ "use_pretrained_backbone": false,
76
+ "use_timm_backbone": false
77
  }