Skip to content

Commit 5d120f8

Browse files
fix rec hpi config (#14905)
1 parent b0ce52f commit 5d120f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ppocr/utils/export_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def dump_infer_config(config, path, logger):
4949
arch_config = config["Architecture"]
5050
if arch_config["algorithm"] in ["SVTR_LCNet", "SVTR_HGNet"]:
5151
common_dynamic_shapes = {
52-
"x": [[1, 3, 48, 160], [1, 3, 48, 320], [8, 3, 48, 640]]
52+
"x": [[1, 3, 48, 160], [1, 3, 48, 320], [8, 3, 48, 3200]]
5353
}
5454
elif arch_config["model_type"] == "det":
5555
common_dynamic_shapes = {

0 commit comments

Comments
 (0)