“16bd2553819e21d2ce670308e81359813345f8a0”上不存在“...pdserving/git@gitcode.net:weixin_41840029/PaddleOCR.git”
提交 2d14b487 编写于 作者: A andyjpaddle

fix det slim export

上级 b41fd6ee
...@@ -120,8 +120,7 @@ def main(): ...@@ -120,8 +120,7 @@ def main():
for k, v in metric.items(): for k, v in metric.items():
logger.info('{}:{}'.format(k, v)) logger.info('{}:{}'.format(k, v))
infer_shape = [3, 32, 100] if config['Architecture'][ infer_shape = [3, 32, 100] if model_type != "det" else [3, 640, 640]
'model_type'] != "det" else [3, 640, 640]
save_path = config["Global"]["save_inference_dir"] save_path = config["Global"]["save_inference_dir"]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册