EAST icon indicating copy to clipboard operation
EAST copied to clipboard

Segmentation Fault : 11 in eval.py

Open dsleo opened this issue 6 years ago • 6 comments

Hello, thanks for the very nice library.

On Mac OS X 10.13.4, in Python 3.4.3 with the following g++ -v:

configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

I compile about just fine. Just some warning warning: 'pybind11_init' is deprecated, warning: 'PyThread_set_key_value' is deprecated...

But running the eval.py gives Segmentation fault: 11. Any idea how to fix this ?

Many Thanks !

dsleo avatar Jul 11 '18 16:07 dsleo

I think you need to make clean && make for the lanms.

cybsbbb avatar Nov 19 '18 10:11 cybsbbb

Was this issue resolved?

rasmusjust91 avatar Jul 12 '19 07:07 rasmusjust91

did you resolved it?

HITxuefeng avatar Aug 22 '19 08:08 HITxuefeng

I managed to execute eval.py by reversing the comments on lines 99-100, such that: boxes = nms_locality.nms_locality(boxes.astype(np.float64), nms_thres) # boxes = lanms.merge_quadrangle_n9(boxes.astype('float32'), nms_thres) However I am not certain that this will resolve anyones problem.

rasmusjust91 avatar Aug 22 '19 08:08 rasmusjust91

I managed to execute eval.py by reversing the comments on lines 99-100, such that: ` boxes = nms_locality.nms_locality(boxes.astype(np.float64), nms_thres)

# boxes = lanms.merge_quadrangle_n9(boxes.astype('float32'), nms_thres)`

However I am not certain that this will resolve anyones problem.

think for you ,it's useful for me

HITxuefeng avatar Aug 22 '19 08:08 HITxuefeng

I managed to execute eval.py by reversing the comments on lines 99-100, such that: boxes = nms_locality.nms_locality(boxes.astype(np.float64), nms_thres) # boxes = lanms.merge_quadrangle_n9(boxes.astype('float32'), nms_thres) However I am not certain that this will resolve anyones problem.

this is useful for me!!!

oasfuyou avatar Jul 21 '20 08:07 oasfuyou