单独用GPU编译darknet源码时出现如下错误:

解决方法: 修改Makefile

NVCC = /usr/local/cuda-9.0/bin/nvcc

重新编译,错误解决

make

测试一下GPU版本的yolov3

./darknet detect cfg/yolov3.cfg yolov3.weights data/dog.jpg

出现如下错误:

./darknet: error while loading shared libraries: libcudart.so.9.0: cannot open shared object file: No such file or directory


解决方法:

sudo cp /usr/local/cuda-9.0/lib64/libcudart.so.9.0 /usr/local/lib/libcudart.so.9.0 && sudo ldconfig
sudo cp /usr/local/cuda-9.0/lib64/libcublas.so.9.0 /usr/local/lib/libcublas.so.9.0 && sudo ldconfig
sudo cp /usr/local/cuda-9.0/lib64/libcurand.so.9.0 /usr/local/lib/libcurand.so.9.0 && sudo ldconfig

若出现

./darknet: error while loading shared libraries: libcudnn.so.7: cannot open shared object file: No such file or directory

sudo cp /usr/local/cuda/lib64/libcudnn.so.7 /usr/local/lib/libcudnn.so.7
sudo ldconfig

若出现

CUDA Error: unknown error
darknet: ./src/cuda.c:36: check_error: Assertion `0' failed.
Aborted (core dumped)

加上sudo

若出现:

    5 CUDA Error: out of memory
darknet: ./src/cuda.c:36: check_error: Assertion `0' failed.
Aborted (core dumped)

参考:https://blog.csdn.net/wukai0909/article/details/97539472

Makefile:92: recipe for target 'obj/convolutional_kernels.o' failed相关推荐

  1. 成功解决Ubuntu下的make: gcc: Command not found Makefile:85: recipe for target 'obj/gemm.o' failed make: **

    成功解决Ubuntu下的make: gcc: Command not found Makefile:85: recipe for target 'obj/gemm.o' failed make: ** ...

  2. Makefile:132: recipe for target ‘base/.depend.mk‘ failed

    在kaldi src过程中 $cd -/src $./configure --shared $make depend -j 4 $make -j 4 make 报错 Makefile:132: rec ...

  3. Makefile:160: recipe for target 'all' failed (Ubuntu 16.06 + Opencv3.2)解决办法

    前言 之前一直用的opencv 好好的,今天安装了anaconda之后,python中的opencv不能用了,即便是拷贝cv2.so之后也是不能用,问题如下: 根本原因 安装anaconda之后,很多 ...

  4. Makefile:104: recipe for target ‘product_timestamp‘ failed

    当vcs出现报错:Makefile:104: recipe for target 'product_timestamp' failed make[1]: *** [product_timestamp] ...

  5. 在Ubuntu下,编译Kernel报错:Makefile:xxx: recipe for target 'xxx' failed

    **在Ubuntu下,编译Kernel报如下错误:** Makefile:xxx: recipe for target 'xxx' failed make[2]:***[arch/arm/boot/c ...

  6. 嵌入式linux开发,交叉编译qt4.8.5报错:Makefile:1054: recipe for target ‘.moc/release-shared-emb-arm/moc_qabstract

    一.问题描述. 嵌入式linux开发,交叉编译qt4.8.5,执行make时报错如下: ms@ubuntu:~/work/code/qt/opensource/qt-everywhere-openso ...

  7. Makefile.win recipe for target ‘C:/Users/acer/Desktop/xxx.o‘ failed

    在写课设的时候碰到这个问题,明明我在此之前就已经成功运行过,为什么重新打开后就不能运行,而且还报找不到头文件呢?上网查了很多资料,但还是无法解决项目的问题,Make编译不能通过,总提醒我"r ...

  8. 编译fastdfs报错Makefile:59: recipe for target 'fdfs_monitor' failed

    环境:ubuntu16.04 报错信息 : # ./make.sh #/configure../storage/trunk_mgr/trunk_shared.o:在函数'trunk_file_do_l ...

  9. 已解决Makefile:162:recipe for target ‘all‘ failed

    安装opencv时make -j8命令后报错: 往上翻一下错误,看到: 解决方案: 参考了两篇博客(最后会附上链接),我的步骤如下: 下载Video_Codec_SDK9.1.23 解压后,进入文件夹 ...

最新文章

  1. MySQL 开启远程登录权限
  2. 在php中构造函数的作用,php构造函数的作用
  3. 总结定时器设计方法_钢结构刚性固定钢柱脚设计方法总结,看完不仅懂操作,还懂了原理...
  4. 如何玩转CSS的Id 和 Class选择器?
  5. 使用mocha进行测试 区块链
  6. 关于计算机软件技术基础知识,计算机软件技术基础知识要点.doc
  7. 飞龙的程序员书单 – 思想、工程、架构、职业发展
  8. 游戏开发之测试篇3(C++)
  9. 人脸识别技术已成考勤门禁行业发展趋势
  10. PicGo搭建Gitee图库
  11. Cron表达式学习:每天十二点执行一次:0 0 12 * * ?
  12. wps中的格式化快捷键
  13. 华为入局商用市场:趋势使然,挑战颇多
  14. HDU5761 Rower Bo
  15. python生成器与迭代器_python 生成器与迭代器(yield 用法)
  16. ArcGIS如何将Excel表格转换为SHP格式
  17. ODBC驱动的官网下载地址
  18. 【厚积薄发系列】C++项目总结20—pdb和dump服务器部署以及结合windbg自动下载
  19. 独家 | 为DALL·E 2花了15美元创作这幅AI图像以后,我学到了……
  20. 命题和命题的否定可以同时成立吗?

热门文章

  1. 三体中的思想实验一:地球往事
  2. ArcCatalog显示ArcSDE所有数据的注册版本信息
  3. 服务器Ubuntu常用命令汇总
  4. 看待人类行为与世界的不同视角——哈贝马斯、韦伯和波普尔
  5. Aspose.Words 19.X 文档转换 反编译破解 Crack
  6. 大数据最常用的算法,主要有哪些?
  7. Excel的两种密码如何删除?
  8. c++ promer和c++ primer Pluse下载
  9. Windows系统上如何在局域网中创建共享文件夹及取消文件夹共享
  10. FLUKE 438-II电能质量分析仪有强大的电机分析能力