摘要: 原因:通道数不匹配,MINIST使用灰度图像,CIFAR10使用RGB图像。 解决方式:加载图像时,做一下转换。 阅读全文
posted @ 2022-12-02 13:17 Kurie 阅读(2485) 评论(0) 推荐(0) 编辑
摘要: 解决方法: 找到调试要使用的python解释器路径 Linux命令:whereis python 我这里是/home/tao/anaconda/envs/spyketorchproject/bin/python3.10 在VSCode中修改Debug配置文件:launch.json 添加两行代码"p 阅读全文
posted @ 2022-12-02 13:10 Kurie 阅读(1366) 评论(0) 推荐(0) 编辑