- 博客(2)
- 收藏
- 关注
原创 该文件一错误的编码加载:“UTF-8”
理论上UTF-8能识别中文,没懂问题出在哪里。然后想到VS里边的unicode就是用的UTF-8编码,而MFC中的CString是多字节的,需要在设置里边切换,否则输出又是乱码。在查看txt文件时,出现标题错误,具体是文件中文乱码,改成GB18030编码格式或GBK解决。
2024-05-21 09:57:02
1527
原创 torch.nn.modules.module.ModuleAttributeError: ‘Siamese‘ object has no attribute ‘copy‘
torch.nn.modules.module.ModuleAttributeError: 'Siamese' object has no attribute 'copy'
2022-07-26 10:12:05
416
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人