-
Notifications
You must be signed in to change notification settings - Fork 152
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
OSError: no file with expected extension 估计是个numpy ctypeslib.py 问题 #12
Comments
name: otrpy37
|
麻烦看看啊,我这个环境是刚刚搭的,然后直接用来测试你的 |
ctypelib相关错误是由于没找到对应的so文件,davarocr会依赖一些有cpp编译得到的lib,例如DAVAR-Lab-OCR/davarocr/davar_det/datasets/pipelines/lib/east_data.so等。可以看一下环境中时候有这些文件。 它是由DAVAR-Lab-OCR/davarocr/setup.sh执行后自动编译得到的,不知道你安装时时候执行了DAVAR-Lab-OCR/setup.sh脚本。 |
@EYcab @qiaoliang6 Did you resolve this issue? I got the same error :/ |
Have you successfully run 'setup.sh' command, then there will be some '.so' files generated, such as '/davarocr/davar_det/core/post_processing/lib/east_postprocess.so', etc. You can check whether there are ".so" files generated. |
I have update the code to remove the global calling of post_east. It would not affect other algorithms. |
@qiaoliang6,thank you for asking, I have solved that error by implementing setup.sh in davarocr which requires g++ pre-installation. |
(otrpy37) server@server-Z590-UD:~/Desktop/ocr_piles/DAVAR-Lab-OCR/davarocr$ python
Python 3.7.0 (default, Oct 9 2018, 10:31:47)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
The text was updated successfully, but these errors were encountered: