EduardoPacheco commited on
Commit
c8efbb2
1 Parent(s): 3d17eea

Upload GroundingDINOForObjectDetection

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