Closed laoyoutiaotiao closed 3 years ago
in code comment
# videoNonLocalFlowB: imgH x imgW x 2 x 3 x nFrame
in papaer said For every frame, we compute non-local flow to three additional frames using the homography-aligned method (Equation 2) For simplicity, we always select the first, middle, and last frames of the video as non-local neighbors
Is it mean for frame_i,calculate [first_frame->frame_i,middle_frame->frame_i,last_frame->frame_i] as videoNonLocalFlowF, [frame_i,->first_frame,frame_i->middle_frame,frame_i->last_frame] as videoNonLocalFlowB?
For the beta version, I disable this function for a faster speed. I will update the code with the non-local flow support. Sorry about that.
did you ever manage to update the code for non-local flow support as ' --Nonlocal ' still produces a type error?
in your code, videoNonLocalFlowF and videoNonLocalFlowB is None?
get_flowNN_gradient(args, gradient_x_filled, gradient_y_filled, mask, mask_gradient, videoFlowF, videoFlowB, None, None)