mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2026-09-24 23:33:08 +08:00
rever rec input h
This commit is contained in:
@@ -128,7 +128,7 @@ def export_single_model(model,
|
||||
else:
|
||||
infer_shape = [3, -1, -1]
|
||||
if arch_config["model_type"] == "rec":
|
||||
infer_shape = [3, 48, -1] # for rec model, H must be 32
|
||||
infer_shape = [3, 32, -1] # for rec model, H must be 32
|
||||
if "Transform" in arch_config and arch_config[
|
||||
"Transform"] is not None and arch_config["Transform"][
|
||||
"name"] == "TPS":
|
||||
|
||||
Reference in New Issue
Block a user