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.

[BUG] Scunet Denoise Tile Size (Syntax Error)
#5
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


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.
Reply


Messages In This Thread
RE: Scunet Denoise Tile Size (Syntax Error) - by Nevril - 20.08.2025, 14:03

Forum Jump:


Users browsing this thread: 1 Guest(s)