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

"idxs" is missing frames that videoTensor still had when using "--is_folder" #8

Closed
n00mkrad opened this issue Mar 11, 2021 · 3 comments

Comments

@n00mkrad
Copy link
Contributor

I have 49 video frames, and if I check the length of videoTensor, it matches (49).

However, idxs ends up being only 46 long, resulting in the first and last frame not being interpolated.

@n00mkrad
Copy link
Contributor Author

Update:

This also happens when using a video input, so --is_folder doesn't seem to be relevant here.

@tarun005
Copy link
Owner

Yes, that is expected. FLAVR requires at least 4 input frame for reliable interpolation, so the boundary frames cannot be interpolated.

@n00mkrad
Copy link
Contributor Author

Inserting fake entries into the beginning and end of the input file array works fine as a workaround.

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