-
Notifications
You must be signed in to change notification settings - Fork 20
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
Resizing problem in DAIN? #5
Comments
I'll check if it's our problem or not. |
This is a problem with DAIN it self. The DAINApp application fixes this completely, but I don't know how. |
@Brokensilence Could you please help us improve it according to the "Colab_DAIN.ipynb" in the DAIN repository, I will assist if needed. 😺 |
@CyFeng16 I addded it to inference_dain: https://github.com/BrokenSilence/MVIMP/blob/master/inference_dain.py But as I said, its not perfect. And I still dont know how to improve it. |
Many thanks. |
The dev from DainApp said this to me:
Maybe give that a try first? |
Some of the advanced features had added into our repo new according to #10 . PTAL. |
@CyFeng16 I managed to completely fix this issue. Here is the colab notebook, please take a look: https://github.com/BrokenSilence/MVIMP/blob/master/MVIMP_DAIN_Colab.ipynb
|
@Brokensilence |
No problem! |
@CyFeng16 That was all. :) |
@Brokensilence Thanks in advance. 👍 |
Hi, i was using your MVIMP DAIN notebook in Google Colab to interpolate a short gif image:
Original
I used a 0.25 time_step (original have 8.33 fps so the interpolated should have 33.32) and i got this:
Result in MVIMP Colab
It looks like a strobing of different sizes frames.
I tried near the same (to 30 fps) in this notebook and i got this, less "strobing" (but still there). Looking up into the notebook i found a "RESIZE HOTFIX" method where the interpolated frames are upscaled slightly (apparently, in the interpolation process, they are generated a bit smaller than originals), also found that there are two interpolation methods, INTER_CUBIC and INTER_LANCZOS4
My question is: Could be there a "universal method" to solve this problem? ? Like an algorithm. Is it because of those two interpolation methods? Or maybe is something i'm doing wrong (codecs?) or a problem with DAIN itself.
Thanks in advance.
The text was updated successfully, but these errors were encountered: