ECANet
ECANet copied to clipboard
Warnings will be given when i using DDP training
I added the ECA module to my model , but when I used DDP training i got a warning:
UserWarning: Grad strides do not match bucket view strides.
This may indicate grad was not created according to the gradient layout contract, or that the param's strides changed since DDP was constructed.
This is not an error, but may impair performance.
grad.sizes() = [2, 1, 3], strides() = [3, 1, 1]
bucket_view.sizes() = [2, 1, 3], strides() = [3, 3, 1]
I found that it was caused by conv1d in ECA, but i can't fix this warning.
Anyone can tell me how to fix this problem?
Hi,Did you resolve this problem? I also encountered this problem when I use DDP.