leezu opened a new pull request #19516:
URL: https://github.com/apache/incubator-mxnet/pull/19516
For small h (eg. -2.22524022E-7), h += 6 will yield a h == 6. But
c_HlsSectorData[6] is invalid memory leading to segmentation fault. We need
to
decrement to 0.
Can be reproduced (prior to this commit via):
MXNET_TEST_SEED=1492532915 python3.8 -m pytest
tests/python/unittest/test_numpy_contrib_gluon_data_vision.py::TestImage::test_bbox_augmenters
Fixes https://github.com/apache/incubator-mxnet/issues/18986
----------------------------------------------------------------
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]