Closed habijung closed 2 years ago
Hi @habijung,
Sorry for the late reply. Now the code supports non-local flow. You can enable the --Nonlocal
flag.
Please note that I haven't thoroughly tested the correctness of the non-local flow (this codebase is different from the one I used for ECCV).
Hope this helps. Please let me know if there is anything I can help with.
@gaochen315
Thank you very much for your update. But I have a question.
Why is FlowNLB1
duplicated in calculate_flow
line 290?
It seems to FlowNLB = np.concatenate((FlowNLB, np.stack((FlowNLB0, FlowNLB1, FlowNLB2), -1)[..., None]), axis=-1)
.
I have a same problem of '--Nonlocal' as issue #52
In my case,
and the result is also
In
video_completion.py
andget_flowNN_gradient.py
, there is not definedvideoNonLocalFlowB
,videoNonLocalFlowF
.How can I get this value?
Can I define
videoNonLocalFlowB
orvideoNonLocalFlowF
like thisbefore
get_flowNN_gradient
at line 334 ofvideo_completion.py
?Thank you!