- 博客(6)
- 收藏
- 关注
原创 ‘utf-8‘ codec can‘t decode byte 0xd6 in position 11: invalid continuation byte
解决方案:打开.txt文件另外保存,保存时现在编码格式设置成 ‘utf-8’。
2024-02-27 16:55:08 131
原创 RuntimeError: “addmm_impl_cpu_“ not implemented for ‘Half‘
将Pytorch改成GPU版本的, CUDA版本要跟Pytorch版本对应。
2024-01-10 15:33:16 2189 1
原创 AttributeError: module ‘numpy‘ has no attribute ‘int‘.
AttributeError: module 'numpy' has no attribute 'int'.报错是因为numpy里面的int属性已经被弃用。把这里的np.int改成np.int_就可以解决这个问题。
2023-11-21 17:37:54 238 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人