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 first print prints (16, 3, 64, 64). However, the second print (with Crypten) produces (18, 3, 64, 63). It is padding the first (batch) dimension instead of the last.
I tracked it down a little bit, and found that in _ConstantPad function, input[1] is being given as (0, 0, 1, 1, 0, 0, 1, 1), where it should be (1, 1, 1, 1). Not sure why.
The text was updated successfully, but these errors were encountered:
For some reason, AvgPool2d's padding works incorrectly.
Below is the minimal example to reproduce:
The first print prints (16, 3, 64, 64). However, the second print (with Crypten) produces (18, 3, 64, 63). It is padding the first (batch) dimension instead of the last.
I tracked it down a little bit, and found that in _ConstantPad function, input[1] is being given as (0, 0, 1, 1, 0, 0, 1, 1), where it should be (1, 1, 1, 1). Not sure why.
The text was updated successfully, but these errors were encountered: