fix det for hpi config (#15056)
parent
5d120f8fe9
commit
a80d2c89e5
|
@ -53,7 +53,7 @@ def dump_infer_config(config, path, logger):
|
||||||
}
|
}
|
||||||
elif arch_config["model_type"] == "det":
|
elif arch_config["model_type"] == "det":
|
||||||
common_dynamic_shapes = {
|
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":
|
elif arch_config["algorithm"] == "SLANet":
|
||||||
if config["Global"].get("pdx_model_name", None) == "SLANet_plus":
|
if config["Global"].get("pdx_model_name", None) == "SLANet_plus":
|
||||||
|
|
Loading…
Reference in New Issue