kaleidoscopical edited a comment on issue #12001: SyncBatchNorm problems
URL: 
https://github.com/apache/incubator-mxnet/issues/12001#issuecomment-447550525
 
 
   @tranvanhoa533 which error message it shows? 
   
   Hi @zhanghang1989 ! 
   I think it still has a problem when training with multiple precision, 
leading to 
   
   `mxnet.base.MXNetError: [17:38:53] include/mxnet/././tensor_blob.h:236: 
Check failed: mshadow::DataType<DType>::kFlag == type_flag_ 
TBlob.get_with_shape: data type do not match specified type.Expected: 2 v.s. 
given 0`
   
   This error message disappears when adding an explicit cast of type right 
before (16 to 32) and after (32 to 16) `mx.sym.contrib.SyncBatchNorm` using 
`mx.sym.cast`.
   
   It is tedious and sacrifices much more memory and speed. Any suggestion to 
solve it?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to