HyeongminLEE / AdaCoF-pytorch

Official source code for our paper "AdaCoF: Adaptive Collaboration of Flows for Video Frame Interpolation" (CVPR 2020)
MIT License
172 stars 27 forks source link

gradient to input #10

Closed laomao0 closed 2 years ago

laomao0 commented 2 years ago

https://github.com/HyeongminLEE/AdaCoF-pytorch/blob/master/cupy_module/adacof.py

In this file, why the gradient to input equals to zero directlly?

HyeongminLEE commented 2 years ago

In my code, there's no need for input's gradient, because all inputs are input images (data). So I did not implement the gradient for input. Thanks!

laomao0 commented 2 years ago

In my code, there's no need for input's gradient, because all inputs are input images (data). So I did not implement the gradient for input. Thanks!

Thanks for your reply.