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

v4.x Roadmap #145

Open
10 of 24 tasks
bloc97 opened this issue Nov 21, 2021 · 9 comments
Open
10 of 24 tasks

v4.x Roadmap #145

bloc97 opened this issue Nov 21, 2021 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@bloc97
Copy link
Owner

bloc97 commented Nov 21, 2021

New features concerning v4 will be added here.

v4.0.x

  • Implement restore shaders for 1080p anime.

v4.1.x

  • General exploration on whether using GANs can improve real-time upscalers. (Yes they can...)
  • Stable training of GANs for real-time upscaling. (Successfully training a very small network using an adversarial utility function is hard.)
  • Implement GANs for upscale shaders. (Should be better than previous shaders to be considered done.)
  • Reduce aliasing and phantom textures in SRGAN.
  • Reduce size and implement smaller variants for SRGAN. (If possible)
  • Investigate convergence issues for smaller SRGAN versions (M and L)
  • Implement restore shaders for 720p/480p anime. (Probably using GANs)
  • Reduce size and implement smaller variants for RestoreGAN. (If possible)
  • Reduce oversharpening in RestoreGAN.
  • Reduce color shift in RestoreGAN. (undesired tonemapping?)
  • Implement global feature-wise transformations for RestoreGAN.

v4.2.x

Other stuff (might take longer)

  • Cleanup and release full training code for restore shaders.
  • Cleanup and release full training code for GANs.
  • Update the wiki.
@bloc97 bloc97 self-assigned this Nov 21, 2021
@bloc97 bloc97 added the enhancement New feature or request label Nov 21, 2021
@bloc97 bloc97 pinned this issue Nov 21, 2021
@hooke007
Copy link

hooke007 commented Nov 25, 2021

restore_GAN_UL will obviously change some color (restore_GAN_UUL would too but not so obvious)

To watch the face and the background (left part).

@bloc97
Copy link
Owner Author

bloc97 commented Nov 25, 2021

This is one of many problems when using an adversarial loss. It's probably due to the discriminator not having seen some colors in the dataset. I will see if I can fix it before the release version.

@UltraHQ
Copy link

UltraHQ commented Apr 14, 2023

Will there ever be an update again?

@bloc97
Copy link
Owner Author

bloc97 commented Apr 15, 2023

Yes, it's just that right now the implementation of many modern network architectures (eg. transformers, self-attention, etc.) require more advanced features that mpv currently does not support. They can be implemented by brute force in GLSL but it would be way too slow to be worthwhile. If you have a very high end CUDA-enabled GPU like the RTX 3090, there are many other upscalers that you can use that have better quality that Anime4K.
There's currently a big update for libplacebo on the way that promises many new features that Anime4K can leverage.

@UltraHQ
Copy link

UltraHQ commented Apr 16, 2023

Yes, it's just that right now the implementation of many modern network architectures (eg. transformers, self-attention, etc.) require more advanced features that mpv currently does not support. They can be implemented by brute force in GLSL but it would be way too slow to be worthwhile. If you have a very high end CUDA-enabled GPU like the RTX 3090, there are many other upscalers that you can use that have better quality that Anime4K. There's currently a big update for libplacebo on the way that promises many new features that Anime4K can leverage.

Do you mind naming some? I do have an CUDA-enabled GPU, but every other upscaler I tested does not look as great as Anime4K.

@bloc97
Copy link
Owner Author

bloc97 commented Apr 16, 2023

I think this is what I remembered seeing one time, but I haven't had time to try it out... https://github.com/the-database/mpv-upscale-2x_animejanai

@4NXIE7Y
Copy link

4NXIE7Y commented Sep 10, 2023

New features concerning v4 will be added here.

v4.0.x

  • Implement restore shaders for 1080p anime.

v4.1.x

  • General exploration on whether using GANs can improve real-time upscalers. (Yes they can...)

  • Stable training of GANs for real-time upscaling. (Successfully training a very small network using an adversarial utility function is hard.)

  • Implement GANs for upscale shaders. (Should be better than previous shaders to be considered done.)

  • Reduce aliasing and phantom textures in SRGAN.

  • Reduce size and implement smaller variants for SRGAN. (If possible)

  • Investigate convergence issues for smaller SRGAN versions (M and L)

  • Implement restore shaders for 720p/480p anime. (Probably using GANs)

  • Reduce size and implement smaller variants for RestoreGAN. (If possible)

  • Reduce oversharpening in RestoreGAN.

  • Reduce color shift in RestoreGAN. (undesired tonemapping?)

  • Implement global feature-wise transformations for RestoreGAN.

v4.2.x

Other stuff (might take longer)

  • Cleanup and release full training code for restore shaders.
  • Cleanup and release full training code for GANs.
  • Update the wiki.

Hey loved your work on this so far. Will be using it a bit for my undergrad project. Wanted to know if there has been any progress on:

  • Cleanup and release full training code for restore shaders.
  • Cleanup and release full training code for GANs.

@John-Gee
Copy link

Yes, it's just that right now the implementation of many modern network architectures (eg. transformers, self-attention, etc.) require more advanced features that mpv currently does not support. They can be implemented by brute force in GLSL but it would be way too slow to be worthwhile. If you have a very high end CUDA-enabled GPU like the RTX 3090, there are many other upscalers that you can use that have better quality that Anime4K. There's currently a big update for libplacebo on the way that promises many new features that Anime4K can leverage.

Is the current libplacebo enough or still not?
Thanks a lot!

@srk24
Copy link

srk24 commented Apr 18, 2024

Thanks for the past work!
Now will GAN be updated to fix the off-color issue?

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

No branches or pull requests

6 participants