bborneff commited on
Commit
dcc1e32
·
verified ·
1 Parent(s): 35e7ea2

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "microsoft/table-transformer-detection",
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "relu",
6
+ "architectures": [
7
+ "TableTransformerForObjectDetection"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "auxiliary_loss": false,
11
+ "backbone": "resnet18",
12
+ "backbone_config": null,
13
+ "backbone_kwargs": {
14
+ "in_chans": 3,
15
+ "out_indices": [
16
+ 1,
17
+ 2,
18
+ 3,
19
+ 4
20
+ ]
21
+ },
22
+ "bbox_cost": 5,
23
+ "bbox_loss_coefficient": 5,
24
+ "ce_loss_coefficient": 1,
25
+ "class_cost": 1,
26
+ "d_model": 256,
27
+ "decoder_attention_heads": 8,
28
+ "decoder_ffn_dim": 2048,
29
+ "decoder_layerdrop": 0.0,
30
+ "decoder_layers": 6,
31
+ "dice_loss_coefficient": 1,
32
+ "dilation": false,
33
+ "dropout": 0.1,
34
+ "encoder_attention_heads": 8,
35
+ "encoder_ffn_dim": 2048,
36
+ "encoder_layerdrop": 0.0,
37
+ "encoder_layers": 6,
38
+ "eos_coefficient": 0.4,
39
+ "giou_cost": 2,
40
+ "giou_loss_coefficient": 2,
41
+ "id2label": {
42
+ "0": "table",
43
+ "1": "table rotated"
44
+ },
45
+ "init_std": 0.02,
46
+ "init_xavier_std": 1.0,
47
+ "is_encoder_decoder": true,
48
+ "label2id": {
49
+ "table": 0,
50
+ "table rotated": 1
51
+ },
52
+ "mask_loss_coefficient": 1,
53
+ "max_position_embeddings": 1024,
54
+ "model_type": "table-transformer",
55
+ "num_channels": 3,
56
+ "num_hidden_layers": 6,
57
+ "num_queries": 15,
58
+ "position_embedding_type": "sine",
59
+ "scale_embedding": false,
60
+ "torch_dtype": "float32",
61
+ "transformers_version": "4.49.0",
62
+ "use_pretrained_backbone": true,
63
+ "use_timm_backbone": true
64
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49e00fa63bfa301a7a30403058b1831bb8ab4d1467a71ab90aa00eb0e92cc3f3
3
+ size 115646051
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fee7befa086c5a57b49a694138218885063d5d400837669d74ff254a598c410b
3
+ size 55730922
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26f18144c3224bb0cc2106d9e427e6865fa7dafe70f40f8fe9e1659845bfe8b2
3
+ size 58032341
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:420eb0a4158f49d4b1edbe5521d17e75c93cbad645cbb87b9de7b0d35a40d678
3
+ size 29842096
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97aeffe204c83540d04272ab6b1445d56cc2a6297ff37a2fc626be1ebd20958b
3
+ size 56819797
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:546fbd9b5ad2d583421a5a8f60c0345bc4919cdc488815978401d64c3abf2028
3
+ size 32985220
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74e8b1e24f0cee8b289de30b1d9f4c92180ec4f108b2cfcbb379348117e0ec53
3
+ size 29842096
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74e8b1e24f0cee8b289de30b1d9f4c92180ec4f108b2cfcbb379348117e0ec53
3
+ size 29842096
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_annotations": true,
3
+ "do_normalize": true,
4
+ "do_pad": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "format": "coco_detection",
8
+ "image_mean": [
9
+ 0.485,
10
+ 0.456,
11
+ 0.406
12
+ ],
13
+ "image_processor_type": "DetrFeatureExtractor",
14
+ "image_std": [
15
+ 0.229,
16
+ 0.224,
17
+ 0.225
18
+ ],
19
+ "pad_size": null,
20
+ "resample": 2,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "longest_edge": 800,
24
+ "shortest_edge": 800
25
+ }
26
+ }
quantize_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "modes": [
3
+ "fp16",
4
+ "q8",
5
+ "int8",
6
+ "uint8",
7
+ "q4",
8
+ "q4f16",
9
+ "bnb4"
10
+ ],
11
+ "per_channel": true,
12
+ "reduce_range": true,
13
+ "block_size": null,
14
+ "is_symmetric": true,
15
+ "accuracy_level": null,
16
+ "quant_type": 1,
17
+ "op_block_list": null
18
+ }