You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/09/10 21:31:09 UTC
[GitHub] relaxli00 opened a new issue #7835: C++ batchnorm CPU version training well, but validation wrong
relaxli00 opened a new issue #7835: C++ batchnorm CPU version training well, but validation wrong
URL: https://github.com/apache/incubator-mxnet/issues/7835
For bugs or installation issues, please provide the following information.
The more information you provide, the more likely people will be able to help you.
## Environment info
Operating System:
Windows 7, 64bit
Compiler:
Package used (Python/R/Scala/Julia):
C++, Visual Studio 2013/2015
MXNet version:
windows prebuild Yajiedesign release 20170902
Or if installed from source:
https://github.com/yajiedesign/mxnet/releases/tag/20170902
##
I'm running a simple CNN using C++ API. CPU only, no GPU. The program runs well without any batchnorm operation. Training and validation accuracy increased reasonably with increased epochs.
However, once the batchnorm was added, e.g. between the convolution and relu. Validation didn't work correctly. I can still see the training accuracy increased reasonably. However, validation accuracy didn't show any increasing trend even after long time training.
I tried on different computers. The same network runs correctly with pure Python for both networks with and without batchnorm operation. Tried GPU version with C++ also and encountering the same problem.
Any trick to use batchnorm with C++ package, esp. the CPU version?
Thanks for any help.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services