Comments (9)
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.
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.
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.
thanks,The problem has been solved
from person_search.
@22wei22 I have the same problem of the python importing caffe with you. How did you do to solve the problem?
from person_search.
@FreddyZfd I can not import caffe because libboost1.55 is not installed instead of installing libboost1.54
from person_search.
@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.
@22wei22 How did you solve the original issue? #46 seems to have the same problem.
from person_search.
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)
- How is the 128(BATCH_SIZE) RoIs sent to ID net
- target_blobs.size() == source_layer.blobs_size() (1 vs. 0) Incompatible number of blobs for layer feat
- Rewrite batch question
- demo.py error HOT 2
- Error in demo --gpu 0
- about train model download
- About the log file of oim loss
- about dataset
- Caffe Installation Issue on GPU GTX 1050 Ubuntu 18.04 HOT 2
- CUHK-SYSU Person Search Dataset HOT 1
- Can I use standard caffe for inference only? HOT 1
- If you have problems when compiling, please see here
- About the Datase
- About the Dataset HOT 2
- Please help !!! problems running the demo HOT 1
- Implementation bug about unlabeled_matching_layer?
- A good pytorch implementation is available now.
- cuda 8.0 and cudnn v5.1
- 折线图 HOT 1
- how to get cuhk02 03 and sysu
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from person_search.