-
Notifications
You must be signed in to change notification settings - Fork 649
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
Python wrapper problem #3
Comments
I guess you haven't add ./3rdparty/bin folder to your 'PATH' environment variable and restart your computer. |
MainCaller.exe works without errors.I add the bin folder to PATH.But still have the problem.When I want to import caffe I got the error "No module named caffe", then I managed to use this: |
Notice that _caffe.pyd is generated to ./python/caffe. After you have add caffe_root + 'python' to sys.path. To import caffe module, you should run:
or
|
Yes it is generated at the path.Still get the same error on importing Net and SGDsolver. |
I used your new 3rdparty dependencies and Now I get the error on import caffe.imagenet: |
It seems that there is no init.py in imagenet folder. Just create a empty one. |
Hi all, |
I compile python wrapper for caffe successfully but when I want to import caffe I got into this error.
Traceback (most recent call last):
File "", line 1, in
File "caffe__init__.py", line 1, in
from .pycaffe import Net, SGDSolver
File "caffe\pycaffe.py", line 10, in
from ._caffe import Net, SGDSolver
ImportError: DLL load failed: The specified module could not be found.
How can I make it work?
Thanks
The text was updated successfully, but these errors were encountered: