Closed WilliamQf-AI closed 1 year ago
谢谢大佬们,问题解决啦 执行如下命令: python3 tools/export_model.py -c ./inference_model/case_handwrite/ch_PP-OCRv3_rec_distillation.yml -o Global.pretrained_model=./inference_model/case_handwrite/best_accuracy Global.save_inference_dir=./inference_model/1/
1)Paddle Lite 版本:v2.13rc 2)Host 环境:macos 12.6.3
模型信息 1)模型名称 :手写识别 2)模型链接 :大礼包里面的手写识别 复现信息:opt --model_file=./case_handwrite/best_accuracy.pdopt --param_file=./case_handwrite/best_accuracy.pdparams --optimize_out_type=naive_buffer --optimize_out=./case_handwrite --valid_targets=arm 问题描述:执行以上命令,输出如下: Loading topology data from ./case_handwrite/best_accuracy.pdopt Loading params data from ./case_handwrite/best_accuracy.pdparams [F 4/11 15:16:32.660 .../lite/core/model/general/program_desc.cc:51 GetBlock] Check failed: (idx < static_cast(BlocksSize())): 0!<0 idx >= blocks.size()
zsh: abort opt --model_file=./case_handwrite/best_accuracy.pdopt --valid_targets=arm