Views
No views yet
| Model | Top1 Acc(%) | GPU Inference Time (ms) [Regular Mode / High-Performance Mode] | CPU Inference Time (ms) [Regular Mode / High-Performance Mode] | Model Storage Size (M) |
|---|---|---|---|---|
| PP-LCNet_x1_0_table_cls | 94.2 | 2.35 / 0.47 | 4.03 / 1.35 | 6.6M |
1pip install -U paddleocr
2pip install -U onnxruntime-gpupaddleocr table_classification -i ./demo.jpg --model_name PP-LCNet_x1_0_table_cls --engine onnxruntime1from paddleocr import TableClassification
2
3model = TableClassification(
4 model_name="PP-LCNet_x1_0_table_cls",
5 engine="onnxruntime",
6)
7output = model.predict("./demo.jpg", batch_size=1)
8for res in output:
9 res.print()
10 res.save_to_json(save_path="./output/res.json")