leezu commented on issue #19257: URL: https://github.com/apache/incubator-mxnet/issues/19257#issuecomment-701522799
If you use `export`, you want to use `SymbolBlock.imports` to load the model back. If you're just interested in the parameters, you can use `save_parameters` / `load_parameters`. In summary, it's expected that your example doesn't work as it mixes the two APIs. It's unfortunate that the two APIs use different naming schemes, but may not change for backwards compat reason. https://github.com/apache/incubator-mxnet/blob/c76593162c2a5e421243dd09a8c3cde044efaa3f/python/mxnet/gluon/block.py#L1077-L1079 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
