PaddleOCR找不到模型文件,文件夹正确
发布于2021-01 浏览:25033 回复:45
0
收藏

(base) lisong@lisong-PC:/data/home/lisong/PaddleOCR$ export PYTHONPATH=. && python3 tools/infer/predict_system.py --image_dir="./doc/imgs/11.jpg" --det_model_dir="./inference/ch_det_mv3_db/" --rec_model_dir="./inference/ch_rec_mv3_crnn/"
[2021/01/13 16:08:43] root INFO: not find model file path ./inference/ch_det_mv3_db//inference.pdmodel

收藏
点赞
0
个赞
共45条回复 最后由玉露浇灌花儿回复于2023-10
#6轩晖1989回复于2021-02
#5 galaxybamboo回复
官方模型里就没有这个文件

https://gitee.com/paddlepaddle/PaddleOCR使用这个地址的模型

0
#5galaxybamboo回复于2021-02

官方模型里就没有这个文件

0
#4七年期限回复于2021-01

我建议你写成绝对路径  这样应该不会有问题

0
#3七年期限回复于2021-01

你确定一下 你运行的  和./是不是在一起

0
#2箜小号回复于2021-01

我也遇到了,你找这个 ./inference/ch_det_mv3_db//inference.pdmodel  目录

deploy/cpp_infer/inference/ch_ppocr_mobile_v2.0_det_infer

ch_ppocr_mobile_v2.0_det_infer$ ls
inference.pdiparams inference.pdiparams.info inference.pdmodel

0
TOP
切换版块