Upload DetrForObjectDetection

#1
by moetezsa - opened
Files changed (2) hide show
  1. config.json +63 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "92a0c46dfd360ba1b2fb41074098a981646eb227",
3
+ "_name_or_path": "microsoft/table-transformer-structure-recognition",
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "relu",
6
+ "architectures": [
7
+ "DetrForObjectDetection"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "auxiliary_loss": false,
11
+ "backbone": "resnet18",
12
+ "backbone_config": null,
13
+ "bbox_cost": 5,
14
+ "bbox_loss_coefficient": 5,
15
+ "ce_loss_coefficient": 1,
16
+ "class_cost": 1,
17
+ "d_model": 256,
18
+ "decoder_attention_heads": 8,
19
+ "decoder_ffn_dim": 2048,
20
+ "decoder_layerdrop": 0.0,
21
+ "decoder_layers": 6,
22
+ "dice_loss_coefficient": 1,
23
+ "dilation": false,
24
+ "dropout": 0.1,
25
+ "encoder_attention_heads": 8,
26
+ "encoder_ffn_dim": 2048,
27
+ "encoder_layerdrop": 0.0,
28
+ "encoder_layers": 6,
29
+ "eos_coefficient": 0.4,
30
+ "giou_cost": 2,
31
+ "giou_loss_coefficient": 2,
32
+ "id2label": {
33
+ "0": "table",
34
+ "1": "table column",
35
+ "2": "table row",
36
+ "3": "table column header",
37
+ "4": "table projected row header",
38
+ "5": "table spanning cell"
39
+ },
40
+ "init_std": 0.02,
41
+ "init_xavier_std": 1.0,
42
+ "is_encoder_decoder": true,
43
+ "label2id": {
44
+ "table": 0,
45
+ "table column": 1,
46
+ "table column header": 3,
47
+ "table projected row header": 4,
48
+ "table row": 2,
49
+ "table spanning cell": 5
50
+ },
51
+ "mask_loss_coefficient": 1,
52
+ "max_position_embeddings": 1024,
53
+ "model_type": "detr",
54
+ "num_channels": 3,
55
+ "num_hidden_layers": 6,
56
+ "num_queries": 125,
57
+ "position_embedding_type": "sine",
58
+ "scale_embedding": false,
59
+ "torch_dtype": "float32",
60
+ "transformers_version": "4.24.0.dev0",
61
+ "use_pretrained_backbone": true,
62
+ "use_timm_backbone": true
63
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f70fec3216fb90c7c3a1c4f79f7cb3a4e76db43153aedae3f3ef7386e50977e2
3
+ size 115510157