知之至知 2021-12-01 21:18 采纳率: 0%
浏览 110

运行测试代码时出错,不能成功执行python detect.py

运行测试代码时(python detect.py --source ./data/images/ --weights weights/yolov5s.pt --conf-thres 0.4)
出现错误:
RuntimeError: CUDA error: CUBLAS_STATUS_INTERNAL_ERROR when calling cublasCreate(handle)
不知道怎么解决,我直接用的百度网盘的代码。

  • 写回答

1条回答 默认 最新

  • CSDN专家-黄老师 2021-12-02 09:05
    关注

    pytorch的版本可能有问题,试试安装17.1版本试试

    pip uninstall torch
    pip install torch==1.7.1
    
    
    评论

报告相同问题?

问题事件

  • 创建了问题 12月1日