
debug
全息数据
用数据拟合世界。
展开
-
ValueError: Classification metrics can‘t handle a mix of unknown and binary targets【已解决】
参考链接:1.2.3.。原创 2022-08-26 10:56:20 · 1885 阅读 · 0 评论 -
Python3.6 Error: ModuleNotFoundError: No module named ‘src‘【已解决】
我是直接在相应的py文件添加这一句,然后所有包的导入采用绝对路径。原创 2022-08-12 18:48:08 · 3374 阅读 · 0 评论 -
感知算法车道线分割bug整理
1、报错:expected scalar type Long but found Int参考:点击这里,不过这里的方法我没实验成功最后参考这个链接,成功解决。修改的代码: 在target.view(-1)后满添加.type(torch.LongTensor)class MySoftmaxCrossEntropyLoss(nn.Module): def __init__(self, nbclasses): super(MySoftmaxCrossEntropyLoss,原创 2022-04-19 23:55:17 · 328 阅读 · 0 评论 -
跑yolov3时,出现RuntimeError: There were no tensor arguments to this function (e.g., you passed。。。如何解决
跑yolov3时,出现RuntimeError: There were no tensor arguments to this function (e.g., you passed。。。如何解决如图yolov3出现以下报错,首先我已解决,我出现的原因是test.py文件中的路径对不上,仔细该文件中出现的路径;另外还应检查如何你检测的是2个类别,而你用的是80个类别的权重,此时也应修改。...原创 2022-04-07 07:51:36 · 3412 阅读 · 0 评论