当前位置:   article > 正文

跑yolov3时,出现RuntimeError: There were no tensor arguments to this function (e.g., you passed。。。如何解决_notimplementederror: there were no tensor argument

notimplementederror: there were no tensor arguments to this function (e.g.,

跑yolov3时,出现RuntimeError: There were no tensor arguments to this function (e.g., you passed。。。如何解决
如图yolov3出现以下报错,
在这里插入图片描述
首先我已解决,
我出现的原因是test.py文件中的路径对不上,仔细该文件中出现的路径;
另外还应检查如果你检测的是2个类别,而你用的是80个类别的权重,此时也应修改。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/article/detail/57738
推荐阅读
相关标签
  

闽ICP备14008679号