![]() |
DeepEnhancer - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Talk, Talk, Talk (https://forum.selur.net/forum-5.html) +--- Forum: Small Talk (https://forum.selur.net/forum-7.html) +--- Thread: DeepEnhancer (/thread-4061.html) |
RE: DeepEnhancer - Selur - 06.04.2025 Strange, it worked fine here. I tried in vsViewer and then in Hybrid (FeMasSR+BasicVSR++). I did not try loading the script as a source in Hybrid. (Will try that tomorrow) You added this before loading any torch related stuff, right? RE: DeepEnhancer - Dan64 - 06.04.2025 (06.04.2025, 20:12)Selur Wrote: Strange, it worked fine here. Yes, I added the statements at the beginning of the script. I attached the script used. Dan RE: DeepEnhancer - Selur - 06.04.2025 Hmm,... something is 'off' there. ![]() Your script, just froze for me in the preview. No gpu usage, just 4% cpu. I don't see any outputs now, but my guess is that FeMaSR once again doesn't work with TRT anymore. Really strange seeing the taskmgr indication 0% GPU usage and at the same time indicating 28.6% GPU usage for Vapoursynth. (with 3 streams it indicates 64.5%) Using: # Imports ![]() => really seems like FeMaSR is broken once again with TRT. Cu Selur RE: DeepEnhancer - Selur - 06.04.2025 The warnings from basicvsrpp, should not be the issue, since warnings get send to std:err https://docs.python.org/3/library/warnings.html Yes, those are sent to stderr. (see attachment) Maybe adding logging.captureWarnings(False) RE: DeepEnhancer - Dan64 - 06.04.2025 On my side the script is working. The first time to generate the trt file "FeMaSR_SRX2_model_g.pth_672x480_fp16_NVIDIA GeForce RTX 5070 Ti_trt-10.9.0.34.ep" it took a lot of time (5min-10min). But after the cache generation the encoding speed is quite good. Dan RE: DeepEnhancer - Selur - 06.04.2025 Will try to do some testing tomorrow. Should be asleep for a while RE: DeepEnhancer - djilayeden - 06.04.2025 Hi Dan, Thank you so much for the sample and script—the result is really impressive! FeMaSR delivers excellent sharpness and detail, and I can definitely see its potential in restoration workflows. I really appreciate the encoding tips for Hybrid with NVEnc and DirectSynthLoading enabled. It worked perfectly on my end. Thanks again for your continuous support and for sharing all these powerful tools with us! Best regards, RE: DeepEnhancer - Dan64 - 06.04.2025 (06.04.2025, 21:41)Selur Wrote: Will try to do some testing tomorrow. I tested your script with the same clip (Downfall_of_Hitler.avi) and I get your results, so it seems that FeMaSR is broken... Dan RE: DeepEnhancer - Selur - 07.04.2025 Have you tried dumping the raw output of vspipe into a file to see what data ends up in it? => didn't see anything. When exporting to test.y4m (and not piping) the output seems fine. So the problems seems to be related to the pipe, but without knowing that info is ending up in the pipe that should not be there, I have no clue how to work around it. => I will probably have to disable the TRT for FeMaSR. RE: DeepEnhancer - Selur - 07.04.2025 adding: os.environ['TLLM_LOG_LEVEL'] = 'error' |