kinghero123456 2022-05-30 10:50 采纳率: 66.7%
浏览 252
已结题

yolov5 加载engine

yolov5 加载engine时提示问题如下
The engine plan file is generated on an incompatible device,expecting compute 6.1 got compute 5.2,please rebuld.
或者
The engine plan file is generated on an incompatible device,expecting compute 6.1 got compute 7.5,please rebuld.

问题一:
为什么会出现这样的问题?
问题二:
不重新生成engine文件是否可以解决?
问题三:
如果和GPU相关,什么性能型号的GPU生成的engine文件,可以相互使用,不报错,为什么?

问题截图

img

img

  • 写回答

2条回答 默认 最新

  • kinghero123456 2022-10-09 13:21
    关注

    yolov5必须相同算力的gpu才能够运行,算力不同,模型文件需要重新生成。
    gpu算力查询 https://developer.nvidia.com/cuda-gpus#compute

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 10月17日
  • 已采纳回答 10月9日
  • 创建了问题 5月30日