mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-09-25 16:15:12 +00:00
fix det slim export
This commit is contained in:
parent
b41fd6ee7c
commit
2d14b487ca
@ -120,8 +120,7 @@ def main():
|
||||
for k, v in metric.items():
|
||||
logger.info('{}:{}'.format(k, v))
|
||||
|
||||
infer_shape = [3, 32, 100] if config['Architecture'][
|
||||
'model_type'] != "det" else [3, 640, 640]
|
||||
infer_shape = [3, 32, 100] if model_type != "det" else [3, 640, 640]
|
||||
|
||||
save_path = config["Global"]["save_inference_dir"]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user