mxnet-ssd icon indicating copy to clipboard operation
mxnet-ssd copied to clipboard

Segmentation Fault After Detection

Open c0nn3r opened this issue 8 years ago • 5 comments

@zhreshold

I get a segmentation fault when running demo.py:

Using mxnet as:
<module 'mxnet' from '/home/conner/mxnet-ssd/mxnet/python/mxnet/__init__.py'>
Warning: using pre-installed version of mxnet may cause unexpected error...
(export MXNET_EXAMPLE_SSD_DISABLE_PRE_INSTALLED=1) to prevent loading pre-installed mxnet.
[16:02:10] src/operator/././cudnn_algoreg-inl.h:65: Running performance tests to find the best convolution algorithm, this can take a while... (setting env variable MXNET_CUDNN_AUTOTUNE_DEFAULT to 0 to disable)
Detection time for 1 images: 0.0821 sec
Segmentation fault (core dumped)

Have tried reinstalling the library many times, but cannot seem to find the problem. I have also tried export the env vars that it suggests, but this seems to do nothing.

c0nn3r avatar Sep 06 '17 23:09 c0nn3r

What graphic card did you have ? Is there enough memory ?

edmBernard avatar Sep 07 '17 06:09 edmBernard

A Titan X

c0nn3r avatar Sep 07 '17 06:09 c0nn3r

cuda and cudnn version? The seg fault is very likely a library linking problem due to newer version of cuda or cudnn I guess.

zhreshold avatar Sep 07 '17 06:09 zhreshold

I'm using the CPU and still getting the error. I have also installed mxnet without CUDA support.

c0nn3r avatar Sep 07 '17 06:09 c0nn3r

I've checked the log again, since the detection time is printed out, the detection is finished, so I think that would be related to display or drawing problem, i.e. matplotlib or sth related.

zhreshold avatar Sep 07 '17 17:09 zhreshold