Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

报错Unknown error 47391493 #32

Open
meichuanneiku opened this issue Jan 13, 2020 · 6 comments
Open

报错Unknown error 47391493 #32

meichuanneiku opened this issue Jan 13, 2020 · 6 comments

Comments

@meichuanneiku
Copy link

Ubuntu 16.04
python3.7
无GPU,编译好了darknet,config也设置了darkRoot
测试运行dnn/ocr.py 报错Unknown error 47391493
定位错误是在dnn/ocr.py 23行 ocrNet = load_net(ocrPath.replace('.weights','.cfg').encode(),ocrPath.encode(), 0)

@wenlihaoyu
Copy link
Member

默认支持python3.6,darknet是否支持3.7未测试,可以检查3.7版本转字节是否是用encode

@meichuanneiku
Copy link
Author

python3.7版本转字节是用encode,但在darknet官网上未找到说明是否支持3.7

@sxjpage
Copy link

sxjpage commented Jan 16, 2020

cfg和weight不一致,会导致这个问题。

@junthy-me
Copy link

@meichuanneiku,我也遇到了和你一样的问题。
我的环境是 linux系统, cuda-9.0 ,tensorflow-python 3.6 ,darknet GPU编译正常。可是尝试去python orc.py 时,有时是显示Killed,有时则是 : Unknown error -119404347。
求大佬解答。

@junthy-me
Copy link

cfg和weight不一致,会导致这个问题。
可是我的.cfg 、.weights 文件都是从项目里指定的链接下的呀?

@chenliang2014
Copy link

cfg文件的换行符必须是unix格式的,如果git clone时被换成了windows的回车换行,就会报上述错误。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants