ThomasDelteil commented on issue #11144: Save/Load Model?
URL: 
https://github.com/apache/incubator-mxnet/issues/11144#issuecomment-395182660
 
 
   If your model is hybridizable, and you want to shelf it for a while, the 
recommended way would be to use `.export('prefix', epoch=0)`.
   That way you can reload it later in a symbol block (right now it takes 3 
lines, but soon a new API will let you do that directly 
https://github.com/apache/incubator-mxnet/pull/11127#discussion_r192873630), or 
in a different language binding altogether.
   
   If you are iterating with your model, the recommend way is 
`save_params/load_params` for the parameters, and save the model definition 
file in a `.py` file or simply pickle 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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to