![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
向BUG低头
向bug低头。
这个作者很懒,什么都没留下…
展开
-
TypeError: new() received an invalid combination of arguments-got(float, int)
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/zhangboshen/anaconda3/lib/python3.6/site-packages/torch/nn/modules/linear.py", line 48, in __init__ self.weight = Parameter(torch.Tensor(out_features, in原创 2021-04-06 09:57:20 · 1577 阅读 · 0 评论 -
OSError: Unable to open file (file signature not found)
原因:可能是在用matlab保存.mat文件时用的版本较老的matlab,可能需要在保存时后面加上’.v7.0’(在网上再查查)最好改用scrpy原创 2021-01-20 17:33:19 · 1478 阅读 · 0 评论 -
OSError: could not read bytes
在使用scipy读取.mat文件时可能会出现的错误。解决方法:有可能是上传文件时出错,重新上传一次即可。原创 2021-01-20 17:26:35 · 2515 阅读 · 3 评论