bborneff commited on
Commit
3d329f9
·
verified ·
1 Parent(s): 34ac373

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "apkonsta/table-transformer-detection-ifrs",
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
+ "model_type": "table-transformer",
54
+ "num_channels": 3,
55
+ "num_hidden_layers": 6,
56
+ "num_queries": 15,
57
+ "position_embedding_type": "sine",
58
+ "torch_dtype": "float32",
59
+ "transformers_version": "4.49.0",
60
+ "use_pretrained_backbone": true,
61
+ "use_timm_backbone": true
62
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d5bd7d63c8943f525474f00dcfa517b90f831f8475bb7b34e21aaa72c8fe8b3
3
+ size 115646051
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5983a53fde82e5b071c4b5a178bfeab44cbf7babe190fb16e319dc8d76f3b07d
3
+ size 55730922
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:747caec704dfff7e29d47e18717fadfe657cd9de742a45238c13930a6d16701c
3
+ size 58032341
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9399ee81cbead1859edb745db05dc6afe0f24662e39dda1169568cbfffd5e9a4
3
+ size 29842096
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26f0beb942ab61e3fed78b71bd7a288c4845d2022b0ad6e4c2ba475ff1e36b2d
3
+ size 56819797
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e49a2772960c8f536ecc1458c6e373629f31aa3c2f845411e6ddcba485f8b7e9
3
+ size 32985220
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d337ece7b300e9f84fc32d257d5eba24577cee188094b4fd20ecffe507e0d236
3
+ size 29842096
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d337ece7b300e9f84fc32d257d5eba24577cee188094b4fd20ecffe507e0d236
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": 1333,
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
+ }