no such label file: ../../ppocr/utils/ppocr_keys_v1.txt, exit the program... #12414
Unanswered
1946802956
asked this question in
Q&A
Replies: 1 comment
-
ppocr.exe system --det_model_dir=det_model_dir --rec_model_dir=rec_model_dir --rec_char_dict_path=E:/Project/VS/PaddleOCR/PaddleOCR-release-2.7/ppocr/utils/ppocr_keys_v1.txt --image_dir=11.jpg 也可以正常使用,就是多了rec_char_dict_path=ppocr_keys_v1.txt的绝对路径这个命令。 |
Beta Was this translation helpful? Give feedback.
0 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.
-
您好,我使用Windows系统进行CPP部署时,发现在进行
ppocr.exe system --det_model_dir=det_model_dir --rec_model_dir=rec_model_dir --image_dir=11.jpg
这个命令后总会报以下错误:no such label file: ../../ppocr/utils/ppocr_keys_v1.txt, exit the program... 不知道这个路径需要在哪里修改。
目前的我的解决办法是在.exe文件的上上一级目录创建ppocr文件夹,然后创建utils文件夹,然后把ppocr_keys_v1.txt复制到该文件夹下以满足可以找到../../ppocr/utils/ppocr_keys_v1.txt的要求。这样的话可以正常运行出结果。
但是我想从源文件中把这个路径修改一下,请问我应该找到哪个文件进行修改,谢谢!
Beta Was this translation helpful? Give feedback.
All reactions