File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- title : 支持PP -DocLayoutV2/V3系列模型
2+ title : 支持 PP -DocLayoutV2/V3 系列模型
33date :
44 created : 2026-02-10
5+ updated : 2026-03-24
56authors : [SWHL]
67slug : support-PP-DocLayoutv2-v3
78categories :
@@ -44,7 +45,7 @@ paddle2onnx --model_dir=models/PP-DocLayoutV2 --model_filename inference.json
4445
4546#### PP-DocLayoutV2
4647
47- ⚠️注意: 按照上面直接转换后,在相同输入下,ONNX 模型和 Paddle 模型推理结果误差为 ** 14.8%** 。在我看来,这个误差其实挺大的。
48+ 按照上面直接转换后,在相同输入下,ONNX 模型和 Paddle 模型推理结果误差为 ** 14.8%** 。在我看来,这个误差其实挺大的。
4849
4950但是从可视化示例图结果来看,两者并无明显区别。可能在某些图上会有较大区别。
5051
Original file line number Diff line number Diff line change 33# @Contact: liekkaskono@163.com
44import argparse
55import dataclasses
6- from pathlib import Path
7- from typing import List , Optional , Union
8-
9- import numpy as np
6+ from typing import List , Optional
107
118from .inference_engine .base import get_engine
129from .model_handler import ModelHandler , ModelProcessor
You can’t perform that action at this time.
0 commit comments