Upload 3 files
Browse files- config.json +5 -3
- preprocessor_config.json +1 -1
config.json
CHANGED
@@ -37,13 +37,15 @@
|
|
37 |
"giou_cost": 2,
|
38 |
"giou_loss_coefficient": 2,
|
39 |
"id2label": {
|
40 |
-
"0": "table"
|
|
|
41 |
},
|
42 |
"init_std": 0.02,
|
43 |
"init_xavier_std": 1.0,
|
44 |
"is_encoder_decoder": true,
|
45 |
"label2id": {
|
46 |
-
"table": 0
|
|
|
47 |
},
|
48 |
"mask_loss_coefficient": 1,
|
49 |
"model_type": "table-transformer",
|
@@ -52,7 +54,7 @@
|
|
52 |
"num_queries": 15,
|
53 |
"position_embedding_type": "sine",
|
54 |
"torch_dtype": "float32",
|
55 |
-
"transformers_version": "4.45.
|
56 |
"use_pretrained_backbone": true,
|
57 |
"use_timm_backbone": true
|
58 |
}
|
|
|
37 |
"giou_cost": 2,
|
38 |
"giou_loss_coefficient": 2,
|
39 |
"id2label": {
|
40 |
+
"0": "table",
|
41 |
+
"1": "table rotated"
|
42 |
},
|
43 |
"init_std": 0.02,
|
44 |
"init_xavier_std": 1.0,
|
45 |
"is_encoder_decoder": true,
|
46 |
"label2id": {
|
47 |
+
"table": 0,
|
48 |
+
"table rotated": 1
|
49 |
},
|
50 |
"mask_loss_coefficient": 1,
|
51 |
"model_type": "table-transformer",
|
|
|
54 |
"num_queries": 15,
|
55 |
"position_embedding_type": "sine",
|
56 |
"torch_dtype": "float32",
|
57 |
+
"transformers_version": "4.45.1",
|
58 |
"use_pretrained_backbone": true,
|
59 |
"use_timm_backbone": true
|
60 |
}
|
preprocessor_config.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
0.456,
|
11 |
0.406
|
12 |
],
|
13 |
-
"image_processor_type": "
|
14 |
"image_std": [
|
15 |
0.229,
|
16 |
0.224,
|
|
|
10 |
0.456,
|
11 |
0.406
|
12 |
],
|
13 |
+
"image_processor_type": "DetrFeatureExtractor",
|
14 |
"image_std": [
|
15 |
0.229,
|
16 |
0.224,
|