kohillyang edited a comment on issue #19159: URL: https://github.com/apache/incubator-mxnet/issues/19159#issuecomment-695749604
@wkcn predictor is created by `predictor = Predictor()`, not `r = predictor()`, since its children function `__call__` is override. And the memory usage grows slow, it seems that it is because the memory allocated by the line `mx.nd.zeros(shape=(1, 3, max_h, max_w), ctx=ctx)` is not freed. ---------------------------------------------------------------- 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]
