bigxiuixu commented on issue #8943: how to share parameters while my network is 
a bit fancy?
URL: 
https://github.com/apache/incubator-mxnet/issues/8943#issuecomment-349533596
 
 
   @piiswrong Thanks for your reply. In fact, I am your fans in zhihu too, 
although I haven't though it's real-name system.
   I have tried your first advice, but it shows that the net1 and net2 still 
have different parameters. My mxnet version is mxnet-cu80 0.12.01.
   And the second advice may cause 
   
   > DeferredInitializationError: Parameter 
sequential0_sequential0_conv0_weight has not been initialized yet because 
initialization was deferred. Actual initialization happens during the first 
forward pass. Please pass one batch of data through the network before 
accessing Parameters. You can also avoid deferred initialization by specifying 
in_units, num_features, etc., for network layers.
   But, I love deferred initialization...

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