diff --git a/tools/export_model.py b/tools/export_model.py index 8ccaea2908b6e6121e0d30f2769f6e93bef49392..50c54583598cb4e4effdb4a255ce47069fd22b8e 100755 --- a/tools/export_model.py +++ b/tools/export_model.py @@ -81,7 +81,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":