efengx commited on
Commit
955f21f
·
1 Parent(s): b5428e8

fix: update

Browse files
fengx_launch.ipynb CHANGED
@@ -33,21 +33,21 @@
33
  },
34
  {
35
  "cell_type": "code",
36
- "execution_count": 6,
37
  "metadata": {},
38
  "outputs": [
39
  {
40
  "name": "stdout",
41
  "output_type": "stream",
42
  "text": [
43
- "Enumerating objects: 9, done.\n",
44
- "Counting objects: 100% (9/9), done.\n",
45
  "Delta compression using up to 8 threads\n",
46
- "Compressing objects: 100% (5/5), done.\n",
47
- "Writing objects: 100% (5/5), 509 bytes | 509.00 KiB/s, done.\n",
48
- "Total 5 (delta 3), reused 0 (delta 0), pack-reused 0\n",
49
  "To https://huggingface.co/spaces/rjx/rjxai_image_identification\n",
50
- " 0098847..a3ecec7 main -> main\n"
51
  ]
52
  }
53
  ],
 
33
  },
34
  {
35
  "cell_type": "code",
36
+ "execution_count": 7,
37
  "metadata": {},
38
  "outputs": [
39
  {
40
  "name": "stdout",
41
  "output_type": "stream",
42
  "text": [
43
+ "Enumerating objects: 7, done.\n",
44
+ "Counting objects: 100% (7/7), done.\n",
45
  "Delta compression using up to 8 threads\n",
46
+ "Compressing objects: 100% (4/4), done.\n",
47
+ "Writing objects: 100% (4/4), 666 bytes | 666.00 KiB/s, done.\n",
48
+ "Total 4 (delta 3), reused 0 (delta 0), pack-reused 0\n",
49
  "To https://huggingface.co/spaces/rjx/rjxai_image_identification\n",
50
+ " a3ecec7..def047e main -> main\n"
51
  ]
52
  }
53
  ],
fengxai/config/GroundingDINO_SwinB_cfg.py ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ batch_size = 1
2
+ modelname = "groundingdino"
3
+ backbone = "swin_B_384_22k"
4
+ position_embedding = "sine"
5
+ pe_temperatureH = 20
6
+ pe_temperatureW = 20
7
+ return_interm_indices = [1, 2, 3]
8
+ backbone_freeze_keywords = None
9
+ enc_layers = 6
10
+ dec_layers = 6
11
+ pre_norm = False
12
+ dim_feedforward = 2048
13
+ hidden_dim = 256
14
+ dropout = 0.0
15
+ nheads = 8
16
+ num_queries = 900
17
+ query_dim = 4
18
+ num_patterns = 0
19
+ num_feature_levels = 4
20
+ enc_n_points = 4
21
+ dec_n_points = 4
22
+ two_stage_type = "standard"
23
+ two_stage_bbox_embed_share = False
24
+ two_stage_class_embed_share = False
25
+ transformer_activation = "relu"
26
+ dec_pred_bbox_embed_share = True
27
+ dn_box_noise_scale = 1.0
28
+ dn_label_noise_ratio = 0.5
29
+ dn_label_coef = 1.0
30
+ dn_bbox_coef = 1.0
31
+ embed_init_tgt = True
32
+ dn_labelbook_size = 2000
33
+ max_text_len = 256
34
+ text_encoder_type = "bert-base-uncased"
35
+ use_text_enhancer = True
36
+ use_fusion_layer = True
37
+ use_checkpoint = True
38
+ use_transformer_ckpt = True
39
+ use_text_cross_attention = True
40
+ text_dropout = 0.0
41
+ fusion_dropout = 0.0
42
+ fusion_droppath = 0.1
43
+ sub_sentence_present = True
fengxai/config/GroundingDINO_SwinT_OGC.py ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ batch_size = 1
2
+ modelname = "groundingdino"
3
+ backbone = "swin_T_224_1k"
4
+ position_embedding = "sine"
5
+ pe_temperatureH = 20
6
+ pe_temperatureW = 20
7
+ return_interm_indices = [1, 2, 3]
8
+ backbone_freeze_keywords = None
9
+ enc_layers = 6
10
+ dec_layers = 6
11
+ pre_norm = False
12
+ dim_feedforward = 2048
13
+ hidden_dim = 256
14
+ dropout = 0.0
15
+ nheads = 8
16
+ num_queries = 900
17
+ query_dim = 4
18
+ num_patterns = 0
19
+ num_feature_levels = 4
20
+ enc_n_points = 4
21
+ dec_n_points = 4
22
+ two_stage_type = "standard"
23
+ two_stage_bbox_embed_share = False
24
+ two_stage_class_embed_share = False
25
+ transformer_activation = "relu"
26
+ dec_pred_bbox_embed_share = True
27
+ dn_box_noise_scale = 1.0
28
+ dn_label_noise_ratio = 0.5
29
+ dn_label_coef = 1.0
30
+ dn_bbox_coef = 1.0
31
+ embed_init_tgt = True
32
+ dn_labelbook_size = 2000
33
+ max_text_len = 256
34
+ text_encoder_type = "bert-base-uncased"
35
+ use_text_enhancer = True
36
+ use_fusion_layer = True
37
+ use_checkpoint = True
38
+ use_transformer_ckpt = True
39
+ use_text_cross_attention = True
40
+ text_dropout = 0.0
41
+ fusion_dropout = 0.0
42
+ fusion_droppath = 0.1
43
+ sub_sentence_present = True