I installed caffe, opencv, on my ubuntu, and I try to run the file in flowNet like this below:
./demo_flownet.py S data/0000000-img0.ppm data/0000000-img1.ppm
And I got the results below:
basepath: /home/george/Desktop/FlowNet-master/models/flownet
bin: ../../.build_release/tools/caffe ../../.build_release/tools/get_image_size
Image files: ['data/0000000-img0.ppm', 'data/0000000-img1.ppm']
Image sizes: [[512, 384], [512, 384]]
Executing ../../.build_release/tools/caffe test -model tmp/deploy.prototxt -weights ./model_simple/flownet_official.caffemodel -iterations 1 -gpu 1
The resulting FLOW is stored in flownets-pred-NNNNNNN.flo