yangguorun / SegStereo

SegStereo: Exploiting Semantic Information for Disparity Estimation
Other
107 stars 23 forks source link

_caffe.so missing #4

Closed jlyw1017 closed 5 years ago

jlyw1017 commented 5 years ago

Issue summary

Hey Thank you for your work! The problem is, I noticed you have used the caffe under SegSetero under python in get_disp.py sys.path.insert(0, caffe_root+'python') but There isn't the _caffe.so file so there would be a error.

File "../python/caffe/init.py", line 1, in from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer File "../python/caffe/pycaffe.py", line 13, in from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \ ImportError: No module named _caffe I think it is trying to import caffe under SegStere/python but there isn't the _caffe.so file

If I use my own caffe in my system there would be a error like : [libprotobuf ERROR /home/jlyw1017/catkin_ws/protobuf/src/google/protobuf/text_format.cc:288] Error parsing text-format caffe.NetParameter: 50:12: Message type "caffe.LayerParameter" has no field named "bn_param". could upload your _caffe under caffe python? oder do you know any work around? Thank you!

Steps to reproduce

Tried solutions

System configuration

jlyw1017 commented 5 years ago

Eh. found that I just need to build the caffe her again. close it

fenil25 commented 4 years ago

Can you tell me exactly how you solved this? I am facing the same issue.