lmb-freiburg / flownet2

FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networks
https://lmb.informatik.uni-freiburg.de/Publications/2017/IMKDB17/
Other
1k stars 318 forks source link

caffe.set_logging_disabled() #83

Closed pandamax closed 7 years ago

pandamax commented 7 years ago

something wrong about caffe happened when i run the run-flownet.py and my running code in my terminal:

~/flownet2-master/scripts$ python run-flownet.py /home/hzb/flownet2-master/flownet-model/FlowNet2-KITTI/FlowNet2-KITTI_weights.caffemodel.h5 /home/hzb/flownet2-master/flownet-model/FlowNet2-KITTI/FlowNet2-KITTI_deploy.prototxt.template /home/hzb/flownet2-master/scripts/frame10.png /home/hzb/flownet2-master/scripts/frame11.png output.flo

Traceback (most recent call last): File "run-flownet.py", line 63, in caffe.set_logging_disabled() AttributeError: 'module' object has no attribute 'set_logging_disabled'

Is there anyone meet the same problem?help is needed indeed!

nikolausmayer commented 7 years ago

Do you have multiple Caffe installations, such that the run-flownet.py script might find the wrong caffe module?

wangzhenglai commented 7 years ago

OK,I have meet this problem.you can open run-flownet.py, and explain caffe.set_logging_disabled() by #. And then you can run it successly.

pandamax commented 7 years ago

I have solved this problem,already!thanks anyway~

JanySunny commented 6 years ago

Hi, I got the same problem. Could you tell me how to solve it? Thanks very much~

yacaeh commented 6 years ago

try this before you run run-flownet.py source set-env.sh

SwordHolderSH commented 6 years ago

I try explain "caffe.set_logging_disabled() by #", but it doesn't work

BluebirdStory commented 6 years ago

I use the caffe version provided by BVLC instead of the author, and now I have the same problem. I just wonder does the caffe version lead to this problem? Thanks @nikolausmayer

nikolausmayer commented 6 years ago

@BluebirdStory that's possible, yes. The Caffe code in this repo is not compatible with BVLC stock versions.