提交 0b97b0c4 编写于 作者: T tink2123

rever rec input h

上级 b8a98bc3
...@@ -81,7 +81,7 @@ def export_single_model(model, ...@@ -81,7 +81,7 @@ def export_single_model(model,
else: else:
infer_shape = [3, -1, -1] infer_shape = [3, -1, -1]
if arch_config["model_type"] == "rec": 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[ if "Transform" in arch_config and arch_config[
"Transform"] is not None and arch_config["Transform"][ "Transform"] is not None and arch_config["Transform"][
"name"] == "TPS": "name"] == "TPS":
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册