21.06.2026, 16:23
Quote: When using DPIRDenoise(mlrt)(TensorRT FP16), error happens, in the VS preview window the scripts are:Looking at the DPIR call:
clip = vsmlrt.DPIR(clip, strength=100.000, overlap=16, model=1, backend=Backend.TRT(fp16=True,device_id=0,bf16=False,verbose=True,use_cuda_graph=False,num_streams=1,builder_optimization_level=1,engine_folder="D:/APPD/HybridFiles/Engine"))clip = vsmlrt.DPIR(clip, strength=100.000, overlap=16, model=1, backend=Backend.TRT(fp16=True,device_id=0,bf16=False,verbose=True,use_cuda_graph=False,num_streams=1,builder_optimization_level=1,engine_folder="D:/APPD/HybridFiles/Engine"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:/APPD/Hybrid_dev_20260621-83629/64bit/vs-mlrt/vsmlrt.py", line 599, in DPIR
clip = inference_with_fallback(
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:/APPD/Hybrid_dev_20260621-83629/64bit/vs-mlrt/vsmlrt.py", line 3110, in inference_with_fallback
raise e
File "D:/APPD/Hybrid_dev_20260621-83629/64bit/vs-mlrt/vsmlrt.py", line 3087, in inference_with_fallback
ret = _inference(
^^^^^^^^^^^
File "D:/APPD/Hybrid_dev_20260621-83629/64bit/vs-mlrt/vsmlrt.py", line 2904, in _inference
engine_path = trtexec(
^^^^^^^^
File "D:/APPD/Hybrid_dev_20260621-83629/64bit/vs-mlrt/vsmlrt.py", line 2087, in trtexec
convert_model(
File "D:/APPD/Hybrid_dev_20260621-83629/64bit/vs-mlrt/vsmlrt.py", line 1958, in convert_model
raise ValueError("input format must be equal to output format")
ValueError: input format must be equal to output format=> sadly there is nothing I can do to fix that, especially since I can't reproduce the problem here. (otherwise I would have reported it to https://github.com/AmusementClub/vs-mlrt)
Quote:If sample1 first, sample2 second, error happens, and the loading after that will always have error.=> I can reproduce the problem. Looking into it.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Offline between (including) 29th of June and 5th of July => RockHarz Festival
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Offline between (including) 29th of June and 5th of July => RockHarz Festival

