wkcn edited a comment on issue #19159: URL: https://github.com/apache/incubator-mxnet/issues/19159#issuecomment-693464974
Hi @kohillyang , I think it is not related to MXNet. When there is a new connection, the library flask will create a new python process to handle the connection, which creates a new copy of MXNet instance `predictor`. To validate it, you can print the id of the predictor by `print(id(r))` in the function `def net_forward():` ---------------------------------------------------------------- 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]
