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

Dataloader for loading images #222

Closed Diksha-Moolchandani closed 3 years ago

Diksha-Moolchandani commented 3 years ago

Hi,

Are you aware of some dataloader that can be used to speed up the image loading process, i wanted to run this for the entire sceneflow monkaa dataset? I know the one in pytorch but I am unsure of its usability in a caffe based code such as flownet2 and loading+reading single image takes a lot of time to cover the entire monkaa dataset.

nikolausmayer commented 3 years ago

The main speed bottleneck with our release code is not the data loading, but the network being reinitialized for every input sample (because we cannot assume that all inputs have the same dimensions). You can change the Python code to reuse the network for all samples, see https://github.com/lmb-freiburg/flownet2/issues/105.

Diksha-Moolchandani commented 3 years ago

Thanks