File size: 2,539 Bytes
1f85e7d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
    "Global": {
        "model_name": "PP-LCNet_x1_0_table_cls"
    },
    "Hpi": {
        "backend_configs": {
            "paddle_infer": {
                "trt_dynamic_shapes": {
                    "x": [
                        [
                            1,
                            3,
                            224,
                            224
                        ],
                        [
                            1,
                            3,
                            224,
                            224
                        ],
                        [
                            8,
                            3,
                            224,
                            224
                        ]
                    ]
                }
            },
            "tensorrt": {
                "dynamic_shapes": {
                    "x": [
                        [
                            1,
                            3,
                            224,
                            224
                        ],
                        [
                            1,
                            3,
                            224,
                            224
                        ],
                        [
                            8,
                            3,
                            224,
                            224
                        ]
                    ]
                }
            }
        }
    },
    "PreProcess": {
        "transform_ops": [
            {
                "ResizeImage": {
                    "resize_short": 256
                }
            },
            {
                "CropImage": {
                    "size": 224
                }
            },
            {
                "NormalizeImage": {
                    "channel_num": 3,
                    "mean": [
                        0.485,
                        0.456,
                        0.406
                    ],
                    "order": "",
                    "scale": 0.00392156862745098,
                    "std": [
                        0.229,
                        0.224,
                        0.225
                    ]
                }
            },
            {
                "ToCHWImage": null
            }
        ]
    },
    "PostProcess": {
        "Topk": {
            "topk": 5,
            "label_list": [
                "wired_table",
                "wireless_table"
            ]
        }
    }
}