Merge pull request #7231 from tink2123/revert_imgh

rever rec input h
This commit is contained in:
andyjpaddle
2022-08-17 18:59:29 +08:00
committed by GitHub
+1 -1
View File
@@ -130,7 +130,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":