File size: 1,877 Bytes
041288b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
  "_name_or_path": "IDEA-Research/grounding-dino-tiny",
  "activation_dropout": 0.0,
  "activation_function": "relu",
  "architectures": [
    "GroundingDinoForObjectDetection"
  ],
  "attention_dropout": 0.0,
  "auxiliary_loss": false,
  "backbone": null,
  "backbone_config": {
    "model_type": "swin",
    "out_features": [
      "stage2",
      "stage3",
      "stage4"
    ],
    "out_indices": [
      2,
      3,
      4
    ]
  },
  "backbone_kwargs": null,
  "bbox_cost": 5.0,
  "bbox_loss_coefficient": 5.0,
  "class_cost": 1.0,
  "class_loss_coefficient": 2.0,
  "class_loss_reduction": "sum",
  "d_model": 256,
  "decoder_attention_heads": 8,
  "decoder_bbox_embed_share": true,
  "decoder_ffn_dim": 2048,
  "decoder_layers": 6,
  "decoder_n_points": 4,
  "disable_custom_kernels": false,
  "dropout": 0.1,
  "embedding_init_target": true,
  "encoder_attention_heads": 8,
  "encoder_ffn_dim": 2048,
  "encoder_layers": 6,
  "encoder_n_points": 4,
  "focal_alpha": 0.25,
  "fusion_dropout": 0.0,
  "fusion_droppath": 0.1,
  "giou_cost": 2.0,
  "giou_loss_coefficient": 2.0,
  "id2label": {
    "0": "Coverall",
    "1": "Face_Shield",
    "2": "Gloves",
    "3": "Goggles",
    "4": "Mask"
  },
  "init_std": 0.02,
  "is_encoder_decoder": true,
  "label2id": {
    "Coverall": 0,
    "Face_Shield": 1,
    "Gloves": 2,
    "Goggles": 3,
    "Mask": 4
  },
  "layer_norm_eps": 1e-05,
  "max_text_len": 256,
  "model_type": "grounding-dino",
  "num_feature_levels": 4,
  "num_queries": 900,
  "position_embedding_type": "sine",
  "positional_embedding_temperature": 20,
  "query_dim": 4,
  "text_config": {
    "model_type": "bert"
  },
  "text_enhancer_dropout": 0.0,
  "torch_dtype": "float32",
  "transformers_version": "4.45.0.dev0",
  "two_stage": true,
  "two_stage_bbox_embed_share": false,
  "use_pretrained_backbone": false,
  "use_timm_backbone": false
}