Giter Site home page Giter Site logo

Comments (9)

Cysu avatar Cysu commented on May 25, 2024

Did you build in CPU_ONLY mode? It is a known issue #21. Please try to compile it with -DUSE_MPI=ON.

from person_search.

22wei22 avatar 22wei22 commented on May 25, 2024

Thanks,this problem has been solved.But I have a new question,do I need to make pycaffe? when I run the demo ,it will tell me that
File "tools/eval_test.py", line 9, in
import caffe
File "/home/lsw2/shiyan/person_search/tools/../caffe/python/caffe/init.py", line 1, in
from .pycaffe import Net, SGDSolver
File "/home/lsw2/shiyan/person_search/tools/../caffe/python/caffe/pycaffe.py", line 13, in
from ._caffe import Net, SGDSolver
ImportError: No module named _caffe
Traceback (most recent call last):
File "tools/eval_test.py", line 9, in
import caffe
File "/home/lsw2/shiyan/person_search/tools/../caffe/python/caffe/init.py", line 1, in
from .pycaffe import Net, SGDSolver
File "/home/lsw2/shiyan/person_search/tools/../caffe/python/caffe/pycaffe.py", line 13, in
from ._caffe import Net, SGDSolver
ImportError: No module named _caffe

from person_search.

Cysu avatar Cysu commented on May 25, 2024

Our modified caffe uses cmake for compilation, which should automatically compile the python binding. Please check the README file and follow these steps to compile the caffe:

cd caffe
mkdir build && cd build
cmake .. -DUSE_MPI=ON -DCUDNN_INCLUDE=/path/to/cudnn/include -DCUDNN_LIBRARY=/path/to/cudnn/lib64/libcudnn.so
make -j8 && make install
cd ../..

from person_search.

22wei22 avatar 22wei22 commented on May 25, 2024

thanks,The problem has been solved

from person_search.

FreddyZfd avatar FreddyZfd commented on May 25, 2024

@22wei22 I have the same problem of the python importing caffe with you. How did you do to solve the problem?

from person_search.

22wei22 avatar 22wei22 commented on May 25, 2024

@FreddyZfd I can not import caffe because libboost1.55 is not installed instead of installing libboost1.54

from person_search.

Cysu avatar Cysu commented on May 25, 2024

@FreddyZfd On Ubuntu 14.04, you may try sudo apt-get autoremove libboost1.54* then sudo apt-get install libboost1.55-all-dev to update boost.

from person_search.

Cysu avatar Cysu commented on May 25, 2024

@22wei22 How did you solve the original issue? #46 seems to have the same problem.

from person_search.

22wei22 avatar 22wei22 commented on May 25, 2024

Sorry,I just see it today,but i really forget how to solve it.Congratulation on your paper which is included by CVPR

from person_search.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.