assafshocher / ResizeRight

The correct way to resize images or tensors. For Numpy or Pytorch (differentiable).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No need for `fw` argument for interpolation methods

shaibagon opened this issue · comments

commented

Using linear, lanczos3, and box interpolation methods raises an error:

TypeError: linear() missing 1 required positional argument: 'fw'

Because of the unused input argument fw.

You should remove it from these interp methods like you did with cubic and lancsoz2.

Thanks again, Shai! fixed.