分页: 1 / 1

[已解决]HQDeringmod报错,求帮看看是什么出错?

发表于 : 2018-08-31 3:44
kunsui
错误log如下:
Failed to evaluate the script:
Python exception: Sobel: Function does not take argument(s) named min

Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 1847, in vapoursynth.vpy_evaluateScript
File "H:\DISC3.vpy", line 12, in
src=haf.HQDeringmod(src,mrad=3,minp=2,nrmode=2,sharp=0)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\havsfunc.py", line 566, in HQDeringmod
sobelm = core.std.Sobel(input, min=scale(mthr, bits), planes=[0])
File "src\cython\vapoursynth.pyx", line 1712, in vapoursynth.Function.__call__
vapoursynth.Error: Sobel: Function does not take argument(s) named min

只是按照模板添加了haf.HQDeringmod(src,mrad=3,minp=2,nrmode=2,sharp=0)这句,然后就报错。
顺着错误log找了havsfunc里HQDeringmod的sobelm = 那行也看不懂是什么问题,求指导哪里出错了 {:cat_3}

Re: [求助]HQDeringmod报错,求帮看看是什么出错?

发表于 : 2018-08-31 8:34
fnscar
vapoursynth从某一版本开始移除了sobel滤镜中的min、max参数。
请更新havsfunc:
https://github.com/HomeOfVapourSynthEvolution/havsfunc

Re: [求助]HQDeringmod报错,求帮看看是什么出错?

发表于 : 2018-09-01 15:21
kunsui
fnscar 写了:
2018-08-31 8:34
vapoursynth从某一版本开始移除了sobel滤镜中的min、max参数。
请更新havsfunc:
https://github.com/HomeOfVapourSynthEvolution/havsfunc
明白了,非常感谢!