Posts: 738
Threads: 70
Joined: Feb 2020
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
Posts: 10.549
Threads: 57
Joined: May 2017
18.04.2023, 19:34
(This post was last modified: 18.04.2023, 19:36 by Selur.)
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 738
Threads: 70
Joined: Feb 2020
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
Posts: 27
Threads: 1
Joined: Nov 2022
Dear Selur.
This is a much needed feature.
If you add it, can you link to
updated version.
Thank you.
Posts: 10.549
Threads: 57
Joined: May 2017
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.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 738
Threads: 70
Joined: Feb 2020
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
Posts: 10.549
Threads: 57
Joined: May 2017
Yes, the dev version relies on the latest torch addon, send you a link via pm.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 27
Threads: 1
Joined: Nov 2022
Dear Selur.
I have not been able to test as
My antivirus blocked something and deleted it.
It's a pity.
Posts: 27
Threads: 1
Joined: Nov 2022
Dear Selur.
Installed again Hybrid_dev_2023.04.18-205712 installed
VapoursynthR61_torch_2023.03.12. Everything works except BasicVSR++.
Failed to test again.
Posts: 10.549
Threads: 57
Joined: May 2017
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.