fengyang95 / pyCFTrackers

Python re-implementation of some correlation filter based tracker
MIT License
523 stars 115 forks source link

Segmentation fault: 11;应该如何解决? #16

Open momo-github-1984 opened 4 years ago

momo-github-1984 commented 4 years ago

DSST ;Staple;CSRDCF;SAMF; DSST-LP;MKCFup;MKCFup-LP;MCCTH-Staple;BACF;运行时,都会报错:

Segmentation fault: 11

Stack trace: [bt] (0) /home/mo/.conda/envs/tracker-py36/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x40c1900) [0x7f1a0411e900] [bt] (1) /lib/x86_64-linux-gnu/libc.so.6(+0x3efd0) [0x7f1a5fa94fd0] [bt] (2) /home/mo/pyCFTrackers/lib/eco/features/_gradient.cpython-36m-x86_64-linux-gnu.so(grad1(float, float, float, int, int, int)+0x96) [0x7f19e00069d6] [bt] (3) /home/mo/pyCFTrackers/lib/eco/features/_gradient.cpython-36m-x86_64-linux-gnu.so(gradMag(float, float, float, int, int, int, bool)+0x1a1) [0x7f19e00070e1] [bt] (4) /home/mo/pyCFTrackers/lib/eco/features/_gradient.cpython-36m-x86_64-linux-gnu.so(+0x15e7) [0x7f19e00065e7] [bt] (5) /home/mo/.conda/envs/tracker-py36/bin/../lib/libpython3.6m.so.1.0(_PyCFunction_FastCallDict+0x229) [0x7f1a60ad5a29] [bt] (6) /home/mo/.conda/envs/tracker-py36/bin/../lib/libpython3.6m.so.1.0(+0x147f4c) [0x7f1a60b5af4c] [bt] (7) /home/mo/.conda/envs/tracker-py36/bin/../lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x26fd) [0x7f1a60b5dbbd] [bt] (8) /home/mo/.conda/envs/tracker-py36/bin/../lib/libpython3.6m.so.1.0(+0x1464c0) [0x7f1a60b594c0]

fengyang95 commented 4 years ago

有正确setup了吗 这个应该是HOG特征模块出问题了

momo-github-1984 commented 4 years ago

有正确setup了吗这个应该是HOG特征模块出问题了

感谢回复! 正确setup过了。是setup一次就可以吗?还是说每次都要这样运行一次?

另外,KCF和DCF的HOG版本都是可以运行的,所以HOG特征模块应该是可以的吧?

fengyang95 commented 4 years ago

应该是setup一次就可以了的。这个看样子是mxnet报错 有用到cnn特征吗

momo-github-1984 commented 4 years ago

这个看样子是mxnet报错有用到cnn特征吗 您好! 就DSST看来,似乎没有用到cnn……但不知道为什么会有这样的错误。您没有遇到过吗?网上说这是因为:程序试图访问不被允许访问的内存区域。这有些超过我能处理的范围了。