跑yolov3时,出现RuntimeError: There were no tensor arguments to this function

跑yolov3时,出现RuntimeError: There were no tensor arguments to this function ,第1张

跑yolov3时,出现RuntimeError: There were no tensor arguments to this function (e.g., you passed。






如何解决
如图yolov3出现以下报错,

首先我已解决,
我出现的原因是test.py文件中的路径对不上,仔细该文件中出现的路径;
另外还应检查如果你检测的是2个类别,而你用的是80个类别的权重,此时也应修改。


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/langs/568649.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-09
下一篇 2022-04-09

发表评论

登录后才能评论

评论列表(0条)

保存