This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

BasicVSR++
#1
Hello Selur,

    BasicVSR++ is available in Hybrid both as Resizer and Filter (in Vapoursynth->Other).
As Resizer it is available in Hybrid the weighted feature that smooth the artifacts, but this features in not available in Vapoursynth->Other.
Even if the filter version is using different models, it has the same artifacts problems that are present in the Resizer version and it would be useful having the possibility to use the weighted feature even for the filter version under Vapoursynth->Other .

Thanks,
Dan
Reply
#2
BasicVSR++ under Other does not do any resizing, so what do you want to merge the filtered version against?
The unfiltered version?

I could probably add this as another optional masking option somehow.

Cu Selur
Reply
#3
Hello Selur,

   yes it is useful merge the filtered BaricVSR++ version  with the unfiltered version available just the step before the application of the filter.

Thanks,
Dan
Reply
#4
Dear Selur.
This is a much needed feature.
If you add it, can you link to
updated version.
Thank you.
Reply
#5
I implemented this and send you two a link to a dev version which supports this through a new mask I called 'LinearMask' (name might change for the next release).
  • weight: 0 original will be used
  • weight: 0.5 original and filtered will be merged with a factor of 0.5
  • weight: 1 the filtered will be used

Personally, I prefer using one of the other masks, but you can test it and let me know whether this is worth to be kept.

Cu Selur

Ps.: going to bed now, will look at your replies whether this is worth to be kept in tomorrow when I'm back home after work.
Reply
#6
Hello Selur,

    Theoretically your update should work.
    The problem is that your code is working for the release 2.0

# adjusting color space from YUV444P16 to RGBH for vsBasicVSRPPFilter
clipFiltered = core.resize.Bicubic(clip=clipFiltered, format=vs.RGBH, matrix_in_s="470bg", range_s="limited")
# Quality enhancement using BasicVSR++
from vsbasicvsrpp import basicvsrpp as BasicVSRPP
clipFiltered = BasicVSRPP(clip=clipFiltered, model=5, length=7)

    While on my installation there is the version 1.4.1 and the code should be changed as

# adjusting color space from YUV444P16 to RGBS for vsBasicVSRPPFilter
clipFiltered = core.resize.Bicubic(clip=clipFiltered, format=vs.RGBS, matrix_in_s="470bg", range_s="limited")
# Quality enhancement using BasicVSR++
from vsbasicvsrpp import BasicVSRPP
clipFiltered = BasicVSRPP(clip=clipFiltered, model=4, interval=7)


  Lem me know if I have to update https://github.com/HolyWu/vs-basicvsrpp to version 2.0

Thanks,
Dan
Reply
#7
Yes, the dev version relies on the latest torch addon, send you a link via pm.

Cu Selur
Reply
#8
Dear Selur.
I have not been able to test as
My antivirus blocked something and deleted it.
It's a pity.
Reply
#9
Dear Selur.
Installed again Hybrid_dev_2023.04.18-205712 installed
VapoursynthR61_torch_2023.03.12. Everything works except BasicVSR++.
Failed to test again.
Reply
#10
Not enough details to really help.
Assuming BasicVSR++ is detected and available in Hybird, problems most users have is that they need to use tiling to not run out of VRAM.

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)