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!


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值