New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dropout2d doesn't drop channels for (C, H, W) #69801
Comments
Even Dropout3d is affected with the same issue. Seems like the underlying implementation always assumes that the input will be batched. pytorch/aten/src/ATen/native/Dropout.cpp Lines 19 to 20 in fc37e5b
|
cc @jbschlosser should this be fixed when no batch dim support is added? |
FYI, as per the tracker issue #60585 it is already supported. |
Ok, so most likely a bug then! Tentative high pri |
Summary: Fixes pytorch/pytorch#69801 TODO: * [x] Update C++ API cc albanD mruberry jbschlosser walterddr kshitij12345 Pull Request resolved: pytorch/pytorch#69885 Reviewed By: mruberry Differential Revision: D33175470 Pulled By: jbschlosser fbshipit-source-id: c9d7d9e0f59ba290a0157725c338a345f3d58b9f (cherry picked from commit 7e4271a)
Summary: Fixes pytorch/pytorch#69801 TODO: * [x] Update C++ API cc albanD mruberry jbschlosser walterddr kshitij12345 Pull Request resolved: pytorch/pytorch#69885 Reviewed By: mruberry Differential Revision: D33175470 Pulled By: jbschlosser fbshipit-source-id: c9d7d9e0f59ba290a0157725c338a345f3d58b9f (cherry picked from commit 7e4271a)
Summary: Fixes pytorch/pytorch#69801 TODO: * [x] Update C++ API cc albanD mruberry jbschlosser walterddr kshitij12345 Pull Request resolved: pytorch/pytorch#69885 Reviewed By: mruberry Differential Revision: D33175470 Pulled By: jbschlosser fbshipit-source-id: c9d7d9e0f59ba290a0157725c338a345f3d58b9f (cherry picked from commit 7e4271a)
Summary: Fixes pytorch/pytorch#69801 TODO: * [x] Update C++ API cc albanD mruberry jbschlosser walterddr kshitij12345 Pull Request resolved: pytorch/pytorch#69885 Reviewed By: mruberry Differential Revision: D33175470 Pulled By: jbschlosser fbshipit-source-id: c9d7d9e0f59ba290a0157725c338a345f3d58b9f (cherry picked from commit 7e4271a)
Reopening this thanks to #79549 TL;DR: The fix for this issue was silently BC-breaking for those who depended on |
馃悰 Describe the bug
Docs read that
C
is dropped, which does not occur for(C, H, W)
but does for
(N, C, H, W)
It appears
Dropout2d
is instead implementingDropout1d
for(N, C, T)
.Versions
1.10.0 via Anaconda; Windows 10
cc @ezyang @gchanan @zou3519 @bdhirsh @albanD @mruberry @jbschlosser @walterddr @kshitij12345
The text was updated successfully, but these errors were encountered: