博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
yolo train:CUDA Error: an illegal memory access was encountered darknet: cuda.c:36:check_error
阅读量:4567 次
发布时间:2019-06-08

本文共 1108 字,大约阅读时间需要 3 分钟。

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 cudasudo 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!

转载于:https://www.cnblogs.com/siahekai/p/11000790.html

你可能感兴趣的文章
Java时间格式转换大全
查看>>
Android 引用外部字体
查看>>
(TOJ3576)找规律
查看>>
JDBC连接泄露问题的排查过程总结
查看>>
写一个网页进度loading
查看>>
SAP应用及ABAP开发最佳实践—Internal-Table_2内表
查看>>
设置柱状图:每项颜色不一样
查看>>
JQuery--基本选择器
查看>>
Linux主机名
查看>>
Codeforces 877E - Danil and a Part-time Job 线段树+dfs序
查看>>
java之生成可重复执行的sql脚本
查看>>
ORACEL 常用命令
查看>>
「zigbee - 1」工欲善其事必先利其器 - IAR for 8051 IDE customization
查看>>
jquery prop和attr的区别
查看>>
调用系统文件管理器选择图片,调用系统裁剪AIP对图片处理,显示裁剪之后的图片...
查看>>
Mac & Linux下php7添加memcached和redis扩展
查看>>
Util应用程序框架公共操作类(八):Lambda表达式公共操作类(二)
查看>>
MS SQL 统计信息浅析上篇
查看>>
YourSQLDba版本升级总结
查看>>
Failure sending mail: The user or group name 'xxx\xxxx' is not recognized.Mail will not be resent
查看>>