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
@LjubicaCimesa, I believe pooling does produce unexpected results, but the value that you expect is also incorrect. Let me explain what I understand and please correct me if I'm wrong.
Slayer works on 3D Matrixes. Thus, underneath you have 3D pool implemented with 3D conv. See following link to implementation. So in fact the kernel would be kernel_size=(2,2,1)
When you will use pytorch and run 3D pooling with tensor of the same shape that you proposed you will see result as follow:
I believe pytorch implementation is reference and I treat it like that.
Since pooling is non-trainable operation and in slayer is implemented as a synapse, then is it pass to the neuron part, thus I believe instead of 3D conv it could be implemented with pytorch 3D pooling. Unless there are some restrictions of HW or model's export procedure that I'm not aware that requires 3D conv with given orientation. However, in that mater @bamsumit would need to explain why pooling in slayer is implemented with 3D conv.
Steps to reproduce the behavior:
Expected behavior
After pooling, I expected to get the shape [1,8,3,3,160]
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: