Closed wshuail closed 5 years ago
@mxnet-label-bot [Bug, Operator]
Can confirm this problem on CPU. On GPU everything is fine.
import mxnet as mx
from mxnet import nd
for _ in range(10):
x = nd.random.uniform(0, 1, (10, 10))
output = nd.contrib.bipartite_matching(data=x, threshold=1e-12, is_ascend=False)
results in free(): invalid pointer
. While
import mxnet as mx
from mxnet import nd
for _ in range(10):
x = nd.random.uniform(0, 1, (10, 10), ctx=mx.gpu(0))
output = nd.contrib.bipartite_matching(data=x, threshold=1e-12, is_ascend=False)
seems to works just fine
This was fixed already. Thx.
Hi when I use SSD for my own dataset, I found a bug in mx.sym.contrib.bipartite_matching for mxnet 1.3.x.
it's easy to reproduce with the code as below. But maybe you have to try many times.
The error informations change sometimes, but generally it's about the memory. sometimes, it's memory corruption. Sometimes like the message below.
This doesn't happen in mxnet 1.1.0, but gluoncv needs mxnet 1.3.0.