yolo train:CUDA Error: an illegal memory access was encountered darknet: cuda.c:36:check_error


when i finished  clone the darknet, i have test the darknet by using the dog picture.

but when i try to training the net, it always show error  as following:

error description:

CUDA Error: an illegal memory access was encountered darknet: ./src/cuda.c:36: check_error: Assertio `0' failed

Aborted (core dumped)

and i added the ARCH as following

ARCH= -gencode arch=compute_30,code=sm_30 \
      -gencode arch=compute_35,code=sm_35 \
      -gencode arch=compute_50,code=[sm_50,compute_50] \
      -gencode arch=compute_52,code=[sm_52,compute_52] \
      -gencode arch=compute_61,code=[sm_61,compute_61] \
      -gencode arch=compute_62,code=[sm_62,compute_62]

but it didn't make sense.

and i remember that the first time that i test successfully is with cudnn, so i download the cudnn-8.0-linux-x64-v5.0-ga.tgz and i installed it as following(after extract):

cd cuda sudo cp include/cudnn.h /usr/local/cuda-8.0/include/ sudo cp lib64/* /usr/local/cuda-8.0/lib64/

and when i run the commands "./darknet detector train ./cfg/voc.data cfg/tiny-yolo-voc.cfg", it passed!!!!

what the fuck it is!



免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM