Weighted Resize CRASH - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: Weighted Resize CRASH (/thread-3062.html) |
Weighted Resize CRASH - Dan64 - 30.01.2023 Hello Selur, I found a movie that CRASH the encoding when I apply the weighted resize. I attached an archive with all the necessary information. Thanks, Dan RE: Weighted Resize CRASH - Selur - 30.01.2023 clip = core.std.Merge(clipa=clipSmoothed, clipb=clip, weight=0.4) -> I'll compile a new version and send you links once I uploaded everything. Cu Selur RE: Weighted Resize CRASH - Selur - 30.01.2023 Nope, removing that character does not fix the problem. -> looking into it My ugess is that it's related to TRT, since when I call the call inside a Windows Command Prompt now, I get: Warning: i:\Hybrid\64bit\Vapoursynth\Lib\site-packages\torch_tensorrt\fx\tracer\acc_tracer\acc_tracer.py:584: UserWarning: acc_tracer does not support currently support models for training. Calling eval on model before tracing. Encoding works fine with trt disabled. Issue is unrelated to weighted resize, also happens without it. Cu Selur RE: Weighted Resize CRASH - Dan64 - 30.01.2023 I'm able to encode the movie using the same script in vsViewer.exe... RE: Weighted Resize CRASH - Selur - 30.01.2023 I know, but that doesn't help at all. https://github.com/HolyWu/vs-realesrgan/issues/21 Cu Selur RE: Weighted Resize CRASH - Selur - 30.01.2023 As soon as trt is enabled it crashes. (Independent of the model, fp16, num_streams or the encoder used) Probably an issue with one of the dlls in the torch_dependencies folder. RE: Weighted Resize CRASH - Dan64 - 30.01.2023 I tried to run the encoding manually, and I get the following error If I remove with an Editor the 2 non-printable characters (I had to remove all the spaces) the encoding worked. Maybe vsViewer is able to remove all the non printable characters. These characters are visible in Notepadd++ if I select the Encoding ANSI (actually the file is using a UTF-8-BOM encoding). Dan RE: Weighted Resize CRASH - Selur - 30.01.2023 I removed those characters too, in Hybrid, but I still got crashes. RE: Weighted Resize CRASH - Selur - 30.01.2023 I'll send you a link to my current dev (~15min) which should fix the non-printable character, maybe that works for you. Cu Selur RE: Weighted Resize CRASH - Dan64 - 30.01.2023 I had the same problem. I was not able to really remove these characters in Notepad++. The only way to not get the crash is to change the script as following clip = core.std.Merge(clipa=clipSmoothed,clipb=clip,weight=0.4) |