EduardoPacheco commited on
Commit
882b03b
1 Parent(s): 162c164

Upload GroundingDINOForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +92 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "relu",
4
+ "architectures": [
5
+ "GroundingDINOForObjectDetection"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "auxiliary_loss": false,
9
+ "backbone": "swin",
10
+ "backbone_config": {
11
+ "depths": [
12
+ 2,
13
+ 2,
14
+ 6,
15
+ 2
16
+ ],
17
+ "model_type": "swin",
18
+ "num_heads": [
19
+ 3,
20
+ 6,
21
+ 12,
22
+ 24
23
+ ],
24
+ "out_features": [
25
+ "stage2",
26
+ "stage3",
27
+ "stage4"
28
+ ],
29
+ "out_indices": [
30
+ 2,
31
+ 3,
32
+ 4
33
+ ]
34
+ },
35
+ "bbox_cost": 5,
36
+ "bbox_loss_coefficient": 5,
37
+ "class_cost": 1,
38
+ "d_model": 256,
39
+ "decoder_attention_heads": 8,
40
+ "decoder_bbox_embed_share": true,
41
+ "decoder_ffn_dim": 2048,
42
+ "decoder_layers": 6,
43
+ "decoder_n_points": 4,
44
+ "dice_loss_coefficient": 1,
45
+ "dilation": false,
46
+ "disable_custom_kernels": false,
47
+ "dropout": 0.1,
48
+ "embedding_init_target": true,
49
+ "encoder_attention_heads": 8,
50
+ "encoder_ffn_dim": 2048,
51
+ "encoder_layerdrop": 0.0,
52
+ "encoder_layers": 6,
53
+ "encoder_n_points": 4,
54
+ "eos_coefficient": 0.1,
55
+ "focal_alpha": 0.25,
56
+ "fusion_dropout": 0.0,
57
+ "fusion_droppath": 0.1,
58
+ "giou_cost": 2,
59
+ "giou_loss_coefficient": 2,
60
+ "init_std": 0.02,
61
+ "init_xavier_std": 1.0,
62
+ "is_encoder_decoder": true,
63
+ "mask_loss_coefficient": 1,
64
+ "max_position_embeddings": 1024,
65
+ "max_text_len": 256,
66
+ "model_type": "grounding-dino",
67
+ "num_channels": 3,
68
+ "num_feature_levels": 4,
69
+ "num_queries": 900,
70
+ "position_embedding_type": "sine",
71
+ "positional_embedding_temperature": 20,
72
+ "query_dim": 4,
73
+ "sub_sentence_present": true,
74
+ "text_backbone_config": {
75
+ "_name_or_path": "bert-base-uncased",
76
+ "architectures": [
77
+ "BertForMaskedLM"
78
+ ],
79
+ "gradient_checkpointing": false,
80
+ "model_type": "bert"
81
+ },
82
+ "text_enhancer_dropout": 0.0,
83
+ "torch_dtype": "float32",
84
+ "transformers_version": "4.33.0.dev0",
85
+ "two_stage": true,
86
+ "two_stage_bbox_embed_share": false,
87
+ "two_stage_class_embed_share": false,
88
+ "two_stage_num_proposals": 900,
89
+ "use_pretrained_backbone": true,
90
+ "use_timm_backbone": false,
91
+ "with_box_refine": true
92
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59f9a7ebf63716ed0ae65a81b1b7cdf48dc1a79efcd8a7cfe5d1b80dd460378f
3
+ size 691914093