Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

DeepFlow: outputs NaN

Hi,

On video input which works with Farneback optical flow and TV-L1 optical flow, the deepflow code from the opencv contrib repository outputs NaN values. This does not happen deterministically, but happens randomly at some frame. It works with expected output sometimes but at times outputs NaN.

Has any one faced similar problems with deep flow code ?

Version:

git describe --long

  • opencv: 3.0.0-beta-0-gae4cb57
  • opencv-contrib: 3.0.0-beta-0-g08699f1

Input video:

https://raw.githubusercontent.com/sourabhd/slomo/master/data/test2.avi

Thanks and regards,

Sourabh Daptardar

DeepFlow: outputs NaN

Hi,

On video input which works with Farneback optical flow and TV-L1 optical flow, the deepflow code from the opencv contrib repository outputs NaN values. This does not happen deterministically, but happens randomly at some frame. It works with expected output sometimes but at times outputs NaN.

Has any one faced similar problems with deep flow code ?

Version:

git describe --long

  • opencv: 3.0.0-beta-0-gae4cb57
  • opencv-contrib: 3.0.0-beta-0-g08699f1

Input video:

https://raw.githubusercontent.com/sourabhd/slomo/master/data/test2.avi

Code:

https://raw.githubusercontent.com/sourabhd/slomo/master/src/fback.cpp

Thanks and regards,

Sourabh Daptardar