pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.58k stars 21.32k forks source link

segmentation fault with GPU enabled #274

Open fishman2008 opened 6 years ago

fishman2008 commented 6 years ago

Hi, I have encountered a segmentation fault after setting GPU=1 in the cfg file. Error pops up right after loading the weights. If GPU=0, then the training could start normally. Could anyone tell me what will be the possible problems for this issue? Thanks.

GDB shows the following error:

__memcpy_avx_unaligned () at ../sysdeps/x86_64/mutliarch/memcpy-avx-unaligned.S:238

1 in get_next_batch (d=..., n=4, offset=0, X=0xc030d20, y=0x838b20) at ./src/data.c:1316

shusain commented 6 years ago

Did you rebuild with make after the change to the Makefile? Just did it here and no issues with this right now would try to pull again to see if the problem has since been resolved.