edge_eval_python icon indicating copy to clipboard operation
edge_eval_python copied to clipboard

Segmentation fault (core dumped) in nms_process_one_image

Open Bedrettin-Cetinkaya opened this issue 3 years ago • 3 comments

Hello, it gives segmentation fault on the below line:

solver.nms(out.ctypes.data_as(c_float_pointer),
           edge.ctypes.data_as(c_float_pointer),
           ori.ctypes.data_as(c_float_pointer),
           r, s, m, w, h)

I normalized image to range 0-1, but error still exists. How can I solve this problem?

Thanks.

Bedrettin-Cetinkaya avatar Feb 08 '22 15:02 Bedrettin-Cetinkaya

@Bedrettin-Cetinkaya Did you manage to solve this issue? I'm stuck at the same line of code with error message: malloc(): invalid next size (unsorted) Aborted (core dumped)

kaddeadam avatar Mar 11 '22 11:03 kaddeadam

@Bedrettin-Cetinkaya Did you manage to solve this issue? I'm stuck at the same line of code with error message: malloc(): invalid next size (unsorted) Aborted (core dumped)

Unfortunately, no. I just used Matlab code to generate NMS images.

Bedrettin-Cetinkaya avatar Mar 11 '22 11:03 Bedrettin-Cetinkaya

Okay, thanks for the answer! I'll try doing the same!

kaddeadam avatar Mar 11 '22 12:03 kaddeadam