saburq commited on
Commit
a7d08be
·
verified ·
1 Parent(s): 2e2cb93

Upload 2 files

Browse files

add onnx exported version

Files changed (2) hide show
  1. config.json +67 -0
  2. model.onnx +3 -0
config.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "IDEA-Research/grounding-dino-tiny",
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "relu",
6
+ "architectures": [
7
+ "GroundingDinoForObjectDetection"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "auxiliary_loss": false,
11
+ "backbone": null,
12
+ "backbone_config": {
13
+ "model_type": "swin",
14
+ "out_features": [
15
+ "stage2",
16
+ "stage3",
17
+ "stage4"
18
+ ],
19
+ "out_indices": [
20
+ 2,
21
+ 3,
22
+ 4
23
+ ]
24
+ },
25
+ "backbone_kwargs": null,
26
+ "bbox_cost": 5.0,
27
+ "bbox_loss_coefficient": 5.0,
28
+ "class_cost": 1.0,
29
+ "d_model": 256,
30
+ "decoder_attention_heads": 8,
31
+ "decoder_bbox_embed_share": true,
32
+ "decoder_ffn_dim": 2048,
33
+ "decoder_layers": 6,
34
+ "decoder_n_points": 4,
35
+ "disable_custom_kernels": false,
36
+ "dropout": 0.1,
37
+ "embedding_init_target": true,
38
+ "encoder_attention_heads": 8,
39
+ "encoder_ffn_dim": 2048,
40
+ "encoder_layers": 6,
41
+ "encoder_n_points": 4,
42
+ "focal_alpha": 0.25,
43
+ "fusion_dropout": 0.0,
44
+ "fusion_droppath": 0.1,
45
+ "giou_cost": 2.0,
46
+ "giou_loss_coefficient": 2.0,
47
+ "init_std": 0.02,
48
+ "is_encoder_decoder": true,
49
+ "layer_norm_eps": 1e-05,
50
+ "max_text_len": 256,
51
+ "model_type": "grounding-dino",
52
+ "num_feature_levels": 4,
53
+ "num_queries": 900,
54
+ "position_embedding_type": "sine",
55
+ "positional_embedding_temperature": 20,
56
+ "query_dim": 4,
57
+ "text_config": {
58
+ "model_type": "bert"
59
+ },
60
+ "text_enhancer_dropout": 0.0,
61
+ "torch_dtype": "float32",
62
+ "transformers_version": "4.46.3",
63
+ "two_stage": true,
64
+ "two_stage_bbox_embed_share": false,
65
+ "use_pretrained_backbone": false,
66
+ "use_timm_backbone": false
67
+ }
model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d792d83564bb13fc021ad639266fb21baf74a663574c84862a7a1a3af8808706
3
+ size 695278324