You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2017/12/15 03:44:47 UTC

[GitHub] zhaoningning commented on issue #9067: how to convert parameters dtype from float32 to float64 in gluon?

zhaoningning commented on issue #9067: how to  convert parameters  dtype from float32 to float64 in gluon?
URL: https://github.com/apache/incubator-mxnet/issues/9067#issuecomment-351905595
 
 
   @zhreshold  thx for your replies!  I succeed using cast float32 paramster to float64. however,  after cast parameters to float64,  there is a error : 
   include/mxnet/././tensor_blob.h:217: Check failed: mshadow::DataType<DType>::kFlag == type_flag_ TBlob.get_with_shape: data type do not match specified type.Expected: 0 v.s. given 1, which happend when barckward() is called, and  float32 parameters does not give this error; I use mxnet 1.0.0, and the loss layer is  writed by myself; 
   
   
   

----------------------------------------------------------------
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