sczhou / STFAN

[ICCV 2019] Spatio-Temporal Filter Adaptive Network for Video Deblurring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RuntimeError: function KernelConv2DFunctionBackward,bug in KernelConv2D.py

huicongzhang opened this issue · comments

In class KernelConv2DFunction ,The number of return Variable arguments of backward() funtion is not equal to the number of input Variable arguments of forward() function.Maybe backward() funtion should change return grad_input, grad_kernel to return grad_input, grad_kernel,None.that's can fix it

You are right. I forgot to change backward() output when I transformed it into the static method. Thanks for your kind notice.