nielsr HF staff commited on
Commit
c97c034
1 Parent(s): c0605c3

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +8 -16
config.json CHANGED
@@ -6,24 +6,17 @@
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
  18,
15
  2
16
  ],
17
- "drop_path_rate": 0.1,
18
  "embed_dim": 128,
19
- "encoder_stride": 32,
20
- "hidden_act": "gelu",
21
- "hidden_dropout_prob": 0.0,
22
  "hidden_size": 1024,
23
  "image_size": 384,
24
- "initializer_range": 0.02,
25
- "layer_norm_eps": 1e-05,
26
- "mlp_ratio": 4.0,
27
  "model_type": "swin",
28
  "num_heads": [
29
  4,
@@ -31,7 +24,6 @@
31
  16,
32
  32
33
  ],
34
- "num_layers": 4,
35
  "out_features": [
36
  "stage2",
37
  "stage3",
@@ -42,11 +34,9 @@
42
  3,
43
  4
44
  ],
45
- "patch_size": 4,
46
- "qkv_bias": true,
47
- "use_absolute_embeddings": false,
48
  "window_size": 12
49
  },
 
50
  "bbox_cost": 5.0,
51
  "bbox_loss_coefficient": 5.0,
52
  "class_cost": 1.0,
@@ -79,11 +69,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
  18,
15
  2
16
  ],
 
17
  "embed_dim": 128,
 
 
 
18
  "hidden_size": 1024,
19
  "image_size": 384,
 
 
 
20
  "model_type": "swin",
21
  "num_heads": [
22
  4,
 
24
  16,
25
  32
26
  ],
 
27
  "out_features": [
28
  "stage2",
29
  "stage3",
 
34
  3,
35
  4
36
  ],
 
 
 
37
  "window_size": 12
38
  },
39
+ "backbone_kwargs": null,
40
  "bbox_cost": 5.0,
41
  "bbox_loss_coefficient": 5.0,
42
  "class_cost": 1.0,
 
69
  "positional_embedding_temperature": 20,
70
  "query_dim": 4,
71
  "text_config": {
72
+ "model_type": "bert"
73
  },
74
  "text_enhancer_dropout": 0.0,
75
  "torch_dtype": "float32",
76
+ "transformers_version": "4.40.0.dev0",
77
  "two_stage": true,
78
+ "two_stage_bbox_embed_share": false,
79
+ "use_pretrained_backbone": false,
80
+ "use_timm_backbone": false
81
+ }