You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug makes the code not compatible with non-default padding and stride in Conv2d.
Hence, this should be corrected to A = torch.nn.functional.unfold(A, layer.kernel_size,padding=layer.padding,stride=layer.stride)
Best regards,
Haoxiang
The text was updated successfully, but these errors were encountered:
Hi,
First, thanks a lot for this library!
Recently I found a bug in this line of your code:
autograd-hacks/autograd_hacks.py
Line 165 in 2c2e494
The bug makes the code not compatible with non-default padding and stride in Conv2d.
Hence, this should be corrected to
A = torch.nn.functional.unfold(A, layer.kernel_size,padding=layer.padding,stride=layer.stride)
Best regards,
Haoxiang
The text was updated successfully, but these errors were encountered: