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

In run-flownet.py : input_dict[net.inputs[blob_idx]] = input_data[blob_idx] IndexError: list index out of range #46

Closed Mehuli-Ruh11 closed 7 years ago

Mehuli-Ruh11 commented 7 years ago

I am not able to figure out how to run the run-flownet.py and run-flownet-many.py. Could you please provide me an example ? The path for the net, I am using is /home/Downloads/flownet2-master/models/FlowNet2/. Also after running the following command in ubuntu terminal, $ python run-flownet.py /home/ruh/Downloads/flownet2-master/models/FlowNet2 /FlowNet2_weights.caffemodel.h5 \/home/ruh/Downloads/flownet2-master/models/FlowNet2/FlowNet2_deploy.prototxt.template \/home/ruh/Downloads/flownet2-master/data/FlyingChairs_examples/0000000-img0.ppm /home/ruh/Downloads/flownet2-master/data/FlyingChairs_examples/0000000-img1.ppm z.flo

It is giving me the following error

<caffe._caffe.Net object at 0x7f0abe9cfe10> Traceback (most recent call last): File "run-flownet.py", line 69, in <module> input_dict[net.inputs[blob_idx]] = input_data[blob_idx] IndexError: list index out of range

nikolausmayer commented 7 years ago

Hi, did you resolve this issue?

nikolausmayer commented 7 years ago

Closed due to inactivity; if the problem persists, please reply and we will reopen the issue.