fix det for hpi config (#15056)

main
zhangyubo0722 2025-04-22 16:22:00 +08:00 committed by GitHub
parent 5d120f8fe9
commit a80d2c89e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ def dump_infer_config(config, path, logger):
}
elif arch_config["model_type"] == "det":
common_dynamic_shapes = {
"x": [[1, 3, 160, 160], [1, 3, 640, 640], [1, 3, 1280, 1280]]
"x": [[1, 3, 32, 32], [1, 3, 736, 736], [1, 3, 4000, 4000]]
}
elif arch_config["algorithm"] == "SLANet":
if config["Global"].get("pdx_model_name", None) == "SLANet_plus":