xClean icon indicating copy to clipboard operation
xClean copied to clipboard

BM3D_RTC: "ref" must be of the same dimensions as "clip"

Open Hark0nnen opened this issue 1 year ago • 1 comments

When i try to use xClean, i get the following error

Python exception: BM3D_RTC: "ref" must be of the same dimensions as "clip"

Traceback (most recent call last):
  File "src/cython/vapoursynth.pyx", line 3124, in vapoursynth._vpy_evaluate
  File "src/cython/vapoursynth.pyx", line 3125, in vapoursynth._vpy_evaluate
  File "nst-script7.vpy", line 10, in <module>
    video = xcln.xClean(video, sharp=9.5, rn=0, depth=1)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nikita/Videos/.venv/lib/python3.11/site-packages/xClean.py", line 242, in xClean
    output = BM3D(c2r, ref, sigma, gpucuda, block_step, bm_range, ps_range, radius, bm3d_fast)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nikita/Videos/.venv/lib/python3.11/site-packages/xClean.py", line 422, in BM3D
    clean = core.bm3dcuda_rtc.BM3D(clip, ref, chroma=chroma, sigma=sigma, device_id=gpuid, fast=bm3d_fast, radius=radius, block_step=block_step, bm_range=bm_range, ps_range=ps_range)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "src/cython/vapoursynth.pyx", line 2860, in vapoursynth.Function.__call__
vapoursynth.Error: BM3D_RTC: "ref" must be of the same dimensions as "clip"

Did i miss some requirements, or something got updated and and xClean is no longer works? BM3DCUDA was build from from git master

Hark0nnen avatar Jan 09 '24 11:01 Hark0nnen