leezu edited a comment on pull request #18358: URL: https://github.com/apache/incubator-mxnet/pull/18358#issuecomment-632944907
@zhreshold should we revert this PR on the 1.7 and 1.x branch as weakref doesn't work with deepcopy? https://github.com/dmlc/gluon-cv/blob/428ee05d7ae4f2955ef00380a1b324b05e6bc80f/gluoncv/data/transforms/presets/yolo.py#L144 (Though I'm surprised that `copy.deepcopy` worked in the first place; for example, using deepcopy probably leads to double free and/or use of invalid memory as you duplicate the ndarray handles of the parameters) ---------------------------------------------------------------- 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: us...@infra.apache.org