I wonder if Caffe can take optical flow image as input, instead of RGB. I am aware that there is such library like FlowNet that learns optical flow, but that is not what I am aiming at.
Please provide me a pointer if any.
I wonder if Caffe can take optical flow image as input, instead of RGB. I am aware that there is such library like FlowNet that learns optical flow, but that is not what I am aiming at.
Please provide me a pointer if any.
Caffe is a very flexible framework. It can process almost any shape of input data you might provide it with.
A very common way to input images to caffe is via lmdb
/leveldb
datasets created using convert_imageset
tool.
For more complex input shapes one can use binary hdf5
files to be read using "HDF5Data"
layer.
As for optical flow, you can input it as an image via lmdb
or as a two-channel tensor via hdf5
. Caffe can handle either way, it's up to you to make sure the net knows how to make sense of the input data.