Selur's Little Message Board

Full Version: Deoldify Vapoursynth filter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I did not update the dev version, only the test .exe only upload.
[Image: grafik.png]

Cu Selur
Did you test the test (Hybrid_deoldify) version?
Yes it works as expected. Smile

But in my dev version 2024.12.15.1 the RealESRGAN resizer is not working.

The generated script is the following

Code:
clip = RealESRGAN(clip=clip, model=5, device_index=0, trt=True, trt_cache_dir=r"D:\PProjects\vs-deoldify_dev\clips", trt_workspace_size=1073741824, trt_int8=False, denoise_strength=0.50, num_streams=1) # 2960x2160


And I get the following error:

2024-12-16 14:16:20.625
Failed to evaluate the script:
Python exception: realesrgan() got an unexpected keyword argument 'trt_int8'


Could you check ?

Dan
Will check.
I missed that the option was removed in:
https://github.com/HolyWu/vs-realesrgan/...36331c5L91
=> will fix

Cu Selur
=> Uploading a new dev&torch package, will be up in ~1hour.

Cu Selur
Installed new torch packages and dev version and not it seems OK.

You should add in Hybrid the support for vs-realesrgan new parameter: num_batches.

As stated in the release of v5.1.0: Improve performance by using separate streams and non_blocking for moving tensors between CPU and GPU. Now num_streams arg has negligible influence on performance compared to num_batches arg.

So by enabling num_batches the performance of vs-realesrgan should improve significantly.

Dan
Quote:Installed new torch packages and dev version and not it seems OK.
not -> now ?
Is it okay or not?

Quote:You should add in Hybrid the support for vs-realesrgan new parameter: num_batches.
will add later, first wanted to be sure the other stuff is okay.

Cu Selur
(16.12.2024, 19:17)Selur Wrote: [ -> ]
Quote:Installed new torch packages and dev version and not it seems OK.
not -> now ?
Is it okay or not?

It's OK, but I haven't had time to test it extensively yet.

Dan
Ok, uploaded a new dev which adds num_batches support to RealESRGAN.

Cu Selur