This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
SyncBatchNorm not supports 1D batch norm #12708
Unanswered
ShoufaChen
asked this question in
Q&A
Replies: 1 comment
-
@mxnet-label-bot [Gluon, Question] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
SyncBatchNorm not supports 1D batch norm?
Environment info (Required)
Ubuntu 18.04
CUDA 9.0
mxnet 1.3.0
python 3.6
I add a module based upon gluon-cv yolo, and use a
conv1d
followed with a batch norm layer. The code is shown as:Note that this batch norm layer follows a
Conv1D
layer. Whennum_sync_bn_devices < 1
, this will work properly, however, I will get following error whennum_sync_bn_devices >=1
:Error Message:
(Paste the complete error message, including stack trace.)
I have debugged that the print the shape of the
SyncBatchNorm
andBatchNorm
separately, they are totally same, but above error always happens.Beta Was this translation helpful? Give feedback.
All reactions