Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to do forward warping using im1 and flow? #14

Closed
HopLee6 opened this issue Nov 2, 2018 · 2 comments
Closed

How to do forward warping using im1 and flow? #14

HopLee6 opened this issue Nov 2, 2018 · 2 comments

Comments

@HopLee6
Copy link

HopLee6 commented Nov 2, 2018

Given the first image and the forward flow, how can I perform forward warping to get im2?

@sniklaus
Copy link
Owner

sniklaus commented Nov 2, 2018

I am afraid PWC-Net does backward warping, not forward warping:

tensorOutput = torch.nn.functional.grid_sample(input=tensorInput, grid=(self.tensorGrid + tensorFlow).permute(0, 2, 3, 1), mode='bilinear', padding_mode='zeros')

@sniklaus sniklaus closed this as completed Nov 2, 2018
@HopLee6
Copy link
Author

HopLee6 commented Nov 2, 2018

In your paper "Context-aware Synthesis for Video Frame Interpolation", you use forward warping, so will please release your code of this paper?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants