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

I always meet this problem when building Caffe #74

Open
lo-pan opened this issue Nov 6, 2018 · 4 comments
Open

I always meet this problem when building Caffe #74

lo-pan opened this issue Nov 6, 2018 · 4 comments

Comments

@lo-pan
Copy link

lo-pan commented Nov 6, 2018

During cmake caffe, I always meet this problem:
-- CUDA detected: 9.0
-- Found cuDNN: ver. 7.1.4 found (include: /usr/local/cuda/include, library:
/usr/local/cuda/lib64/libcudnn.so)
-- Added CUDA NVCC flags for: sm_61
-- OpenCV found (/usr/local/share/OpenCV)
-- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
CMake Error at cmake/Modules/FindOpenBLAS.cmake:55 (MESSAGE):
Could not find OpenBLAS
Call Stack (most recent call first):
cmake/Dependencies.cmake:117 (find_package)
CMakeLists.txt:46 (include)

            -- Configuring incomplete, errors occurred!

But my Opencv is installed correctly,and its version is 3.2.0
my ubuntu version is 16.04,Cuda is 9.0,CUDNN is 7.1
please help me ,it worries me a few days!! Thanks

@MichalBusta
Copy link
Owner

sudo apt-get install openblas-dev ?

@lo-pan
Copy link
Author

lo-pan commented Nov 7, 2018

this problem had been sloved.but i meet a new problem.when i run python demo.py,
"Traceback (most recent call last):
File "demo.py", line 10, in
import caffe
ImportError: No module named caffe"

my caffe is downloaded by Installation -step1,
I am first time to attach Deep Learning ,please help me.
thanks!

@MichalBusta
Copy link
Owner

Hi,
consider using our later project https://github.com/MichalBusta/E2E-MLT

  • it is build on much more developer friendly framework - pytorch, community is bigger, almost pure python

the problem with you are dealing with can be caused by:

  • the caffe has not been build with python support
  • the build module is not on PYTHON_PATH (you can check if sys.path.append('whereisyourbuild'))

@lo-pan
Copy link
Author

lo-pan commented Nov 8, 2018

Thanks,i'll try the latest project.
Now i have build target pycaffe successfully.But when i run the demo,no module named cmp_trie.
Why? Where is the problem? Please help me .
Thanks.

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

2 participants