训练模型导出的时候,缺少inference.pdiparams,请问下有什么解决方案 #14801
Unanswered
IDEALIST-MAKER
asked this question in
Q&A
Replies: 1 comment 3 replies
-
set FLAGS_enable_pir_api=0,后重新导出 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
进行模型导出的时候,导出的文件只包含3个:inference.pdiparams.info,inference.pdmodel,inference.yml。
导致无法进行inference模型预测,报错信息如下:
Traceback (most recent call last):
File "tools/infer/predict_det.py", line 416, in
text_detector = TextDetector(args, logger)
File "tools/infer/predict_det.py", line 139, in init
) = utility.create_predictor(args, "det", logger)
File "E:\项目\实战项目8:OCR车牌检测与识别\2.paddleocr仓库\PaddleOCR\tools\infer\utility.py", line 246, in create_predictor
raise ValueError(f"not find {file_name}.pdiparams in {model_dir}")
ValueError: not find inference.pdiparams in ./output/ch_ppocr_mobile_v2.0_det_inference/
Beta Was this translation helpful? Give feedback.
All reactions