20.08.2025, 14:03
Hi Selur, I was actually referring to https://github.com/HolyWu/vs-scunet
Looking at https://github.com/HolyWu/vs-scunet/blob...t__.py#L81
it appears that FP16 is selected if the color space is RBGH
I actually managed to make it work with custom script
I also tried calling SCUNet with trt=True, trt_optimization_level=3, trt_cache_dir.....
but the engine compilation doesn't seem to start or never finishes? I cannot tell, and I'm not sure why.
Looking at https://github.com/HolyWu/vs-scunet/blob...t__.py#L81
it appears that FP16 is selected if the color space is RBGH
I actually managed to make it work with custom script
from vsscunet import scunet as SCUNet
# adjusting color space fromYUV420P8 to RGBH for vsSCUNet to trigger FP16
clip = core.resize.Bicubic(clip=clip, format=vs.RGBH, matrix_in_s="709", range_s="limited")
# denoising using SCUNet
clip = SCUNet(clip=clip, model=4)
# adjusting output color from: RGBH to YUV420P8 for x265Model
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, matrix_s="709", range_s="limited", dither_type="error_diffusion")
I also tried calling SCUNet with trt=True, trt_optimization_level=3, trt_cache_dir.....
but the engine compilation doesn't seem to start or never finishes? I cannot tell, and I'm not sure why.