sair-lab/kervolution

Setting bias to False do not work, you still have the biases

amovert opened this issue · 0 comments

Hi,

If you try to use kervolution without bias, it does not work if you set bias=False.

The reason is in line 85 in kervolution.py in function Kerv2d:

if self.bias is not None:
output += self.bias.view(self.out_channels, -1)

So you need to set bias=None to not have bias

The same is true for the function Kerv1d