Makefile 在macbook pro上制作yolo;cuda_runtime.h“;

Makefile 在macbook pro上制作yolo;cuda_runtime.h“;,makefile,terminal,yolo,Makefile,Terminal,Yolo,我想在我的MacBookPro视网膜上使用YOLOV3(我有一个NVIDIA GeForce GT 750M),并用我自己的一些图片训练它 终端中的“make”-命令显示:include/darknet.h:11:14:致命错误:“未找到cuda_runtime.h”文件 所以我下载了所有东西,安装了: -CUDA驱动程序版本:418.163(GPU驱动程序版本:355.11.10.50.10.103) 以下是mac终端中显示的完整错误: gcc -Iinclude/ -Isrc/ -DGPU

我想在我的MacBookPro视网膜上使用YOLOV3(我有一个NVIDIA GeForce GT 750M),并用我自己的一些图片训练它

终端中的“make”-命令显示:include/darknet.h:11:14:致命错误:“未找到cuda_runtime.h”文件

所以我下载了所有东西,安装了: -CUDA驱动程序版本:418.163(GPU驱动程序版本:355.11.10.50.10.103)

以下是mac终端中显示的完整错误:

gcc -Iinclude/ -Isrc/ -DGPU -I/usr/local/cuda/include/ -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -fPIC -Ofast -DGPU -c ./src/gemm.c -o obj/gemm.o
In file included from ./src/gemm.c:2:
In file included from src/utils.h:5:
include/darknet.h:11:14: fatal error: 'cuda_runtime.h' file not found
    #include "cuda_runtime.h"
             ^~~~~~~~~~~~~~~~

生成1个错误。

听错误消息告诉您的内容肯定是一个很好的开始!这似乎是准确的-文件系统或捆绑包目标中缺少
cuda_runtime.h


正如您所发现的,您已经获得了确保驱动程序正确安装所需的安装说明。

乍一看,
coda\u runtime.h
可能完全丢失,或者不在您的捆绑目标中。您完全正确!我以为要安装Yolo,我只需要下载一个合适的Coda驱动程序就可以了。但我用这个说明来解决它:谢谢!你是对的。在MacBook上安装Cuda真是一次冒险!但看起来我做到了。再次感谢,晚安:)