马春杰杰博客
致力于深度学习经验分享!

RuntimeError: CUDA error: no kernel image is available for execution on the device (nms_cuda at /tmp/pip-req-build-c2_g4c3l/torchvision/csrc/cuda/nms_cuda.cu:127)

运行efficientdet-pytorch版的时候,出现以下错误:

解决方法:

  1. cuda进行降级,从10.x降级为9.2conda install cudatoolkit=9.2
  2. 安装torchvision0.5pip install torchvision==0.5

 

赞(237) 打赏
版权声明:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权
文章名称:《RuntimeError: CUDA error: no kernel image is available for execution on the device (nms_cuda at /tmp/pip-req-build-c2_g4c3l/torchvision/csrc/cuda/nms_cuda.cu:127)》
文章链接:https://www.machunjie.com/deeplearning/pytorch/691.html
本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。

评论 69

  1. #67

    厉害

    菲菲5年前 (2021-09-11)回复
  2. #66

    我也遇到了类似的问题,不知道怎么解决

    yzy19985年前 (2021-09-03)回复
  3. #65

    大佬

    lwhsa5年前 (2021-08-24)回复
  4. #64

    加油

    12535年前 (2021-07-23)回复
  5. #63

    恩?

    bug5年前 (2021-07-09)回复
  6. #62

    哈哈

    啦啦啦啦5年前 (2021-07-06)回复
  7. #61

    学习

    1235年前 (2021-06-27)回复
  8. #60

    学习

    路也5年前 (2021-06-14)回复
  9. #59

    及其后面

    saddsa5年前 (2021-03-19)回复
  10. #58

    学习

    mxb5年前 (2021-03-13)回复
  11. #57

    非常感谢啊

    bohu5年前 (2021-02-24)回复
  12. #56

    222 所以怎么搞

    shawn5年前 (2021-02-19)回复
  13. #55

    噢噢噢噢

    1111115年前 (2021-01-28)回复
  14. #54

    厉害了

    a5年前 (2021-01-18)回复
  15. #53

    牛逼

    a5年前 (2021-01-18)回复
  16. #52

    学习了

    hih5年前 (2021-01-13)回复
  17. #51

    学习了

    yyyuuu0605年前 (2020-12-27)回复

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续提供更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫

微信扫一扫

:smile: :sad: :arrow: :cool: :confused: :cry: :eek: :evil: :exclaim: :idea: :lol: :mad: :mrgreen: :neutral: :question: :razz: :redface: :rolleyes: :surprised: :wink: :biggrin: :twisted: