【问题标题】:make yolo on macbook pro / "cuda_runtime.h"在 macbook pro / "cuda_runtime.h" 上制作 yolo
【发布时间】:2019-11-01 14:19:06
【问题描述】:

我想在我的 MacBook Pro Retina 上使用 YOLOV3(我有一个 NVIDIA GeForce GT 750M)并用我自己的一些图片对其进行训练。

终端中的“make”命令说:include/darknet.h:11:14: fatal error: 'cuda_runtime.h' file not found

所以我下载了所有内容并安装了: - 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 个错误。

【问题讨论】:

标签: makefile terminal yolo


【解决方案1】:

听错误消息告诉你的内容绝对是一个很好的起点!这似乎是准确的 - 您的文件系统或捆绑目标中缺少 cuda_runtime.h

如您所见,Cuda docs 提供了确保正确安装驱动程序所需的安装说明。

【讨论】:

  • 谢谢!你说的对。在 MacBook 上安装 Cuda 真的是一次冒险!但看起来我设法做到了。再次感谢,晚安:)
猜你喜欢
  • 2017-09-11
  • 2015-03-17
  • 1970-01-01
  • 1970-01-01
  • 2011-01-26
  • 2023-02-17
  • 2021-05-23
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多