
pytorch踩坑
bug修改
翰墨大人
学生一枚
展开
-
ADE20K数据集太坑了!!!
ADE20K原创 2024-02-27 21:55:40 · 744 阅读 · 3 评论 -
常用的图像大小进行操作
常用的图像大小进行操作原创 2024-02-18 23:22:23 · 733 阅读 · 0 评论 -
SyntaxError: Caught SyntaxError in DataLoader worker process 10.
SyntaxError: Caught SyntaxError in DataLoader worker process 10.原创 2024-02-01 20:38:14 · 440 阅读 · 0 评论 -
register_forward_hook多输入问题
register_forward_hook多输入问题原创 2023-12-15 08:34:40 · 151 阅读 · 0 评论 -
UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xc6 in position 680: invalid continuation byte
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc6 in position 680: invalid continuation byte原创 2023-09-01 11:35:28 · 832 阅读 · 0 评论 -
ValueError:unknown file extension
ValueError:unknown file extension原创 2023-07-13 16:50:07 · 3274 阅读 · 0 评论 -
loss.backward
计算损失也就是loss.backward之前不能用loss.item()原创 2023-06-27 16:02:37 · 436 阅读 · 0 评论 -
‘Tensor‘ object is not callable解决
‘Tensor‘ object is not callable解决原创 2023-04-12 11:28:07 · 733 阅读 · 0 评论 -
loss非常大,直至nan
optimizer.zero_grad()原创 2023-03-13 11:30:01 · 683 阅读 · 0 评论 -
再次遇到RuntimeError: CUDA error: an illegal memory access was encountered
RuntimeError: CUDA error: an illegal memory access was encountered原创 2023-02-17 16:59:33 · 4363 阅读 · 0 评论 -
RuntimeError: Class values must be smaller than num_classes
RuntimeError: Class values must be smaller than num_classes原创 2023-02-16 21:32:47 · 2747 阅读 · 0 评论 -
AttributeError: ‘builtfunction‘ object has no attribute numpy
bug原创 2023-02-09 20:20:40 · 675 阅读 · 0 评论 -
TypeError: ‘>‘ not supported between instances of ‘list‘ and ‘int‘
语法问题原创 2023-02-09 11:31:11 · 5440 阅读 · 0 评论 -
对于训练时loss出现负值的情况
dice loss原创 2023-02-07 11:58:05 · 12779 阅读 · 0 评论 -
解决RuntimeError: CUDA error: out of memory
bug原创 2023-01-09 15:40:43 · 10761 阅读 · 5 评论 -
RuntimeError: Boolean value of Tensor with more than one value is ambiguous
bug解决原创 2023-01-05 22:23:50 · 1308 阅读 · 1 评论 -
解决RuntimeError: one of the variables needed for gradient computation has been modified by an inplace
bug原创 2023-01-04 20:00:51 · 5026 阅读 · 0 评论 -
解决TypeError: type complex doesn‘t define __round__ method
解决TypeError: type complex doesn't define __round__ method原创 2022-11-21 16:26:12 · 1887 阅读 · 0 评论 -
pycharm连接问题“no authentication data provided”
pycharm连接问题“no authentication data provided”原创 2022-11-18 10:47:47 · 1864 阅读 · 6 评论 -
语义分割结果图
语义分割图,分割输出原创 2022-10-10 17:40:28 · 6265 阅读 · 15 评论 -
RuntimeError: weight tensor should be defined either for all or no classes
深监督bug原创 2022-09-20 10:46:37 · 5420 阅读 · 0 评论 -
修改模型后载入预训练权重
模型修改载入权重原创 2022-09-18 15:49:14 · 3598 阅读 · 6 评论 -
解决RuntimeError: CUDA out of memory. Tried to allocate 14.00 MiB
gpu运行错误原创 2022-09-15 18:11:54 · 6307 阅读 · 6 评论 -
解决ValueError: too many values to unpack
bug解决原创 2022-09-15 17:37:51 · 12199 阅读 · 0 评论 -
解决ModuleNotFoundError: No module named ‘tensorflow‘
bug原创 2022-09-15 16:25:42 · 6261 阅读 · 0 评论 -
解决ValueError: Expected input batch_size (40) to match target batch_size (8).
解决ValueError: Expected input batch_size (40) to match target batch_size (8)原创 2022-09-08 17:53:52 · 22828 阅读 · 0 评论 -
RuntimeError: mat1 and mat2 shapes cannot be multiplied (192x64 and 4x3)
bug原创 2022-08-29 16:01:40 · 8159 阅读 · 0 评论 -
OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: ‘D:\\AI_dataset\x0clower_data‘
bug原创 2022-08-26 20:58:47 · 2553 阅读 · 0 评论 -
torch.summary使用及BUG解决
torchsummary原创 2022-08-24 17:41:59 · 10245 阅读 · 0 评论 -
RuntimeError: CUDA error: an illegal memory access was encountered
RuntimeError: CUDA error: an illegal memory access was encountered原创 2022-07-25 20:50:29 · 9769 阅读 · 0 评论 -
解决:TypeError: __init__() got an unexpected keyword argument ‘context_module‘
解决:TypeError: __init__() got an unexpected keyword argument 'context_module'原创 2022-07-13 16:35:56 · 4278 阅读 · 0 评论 -
完美解决**ModuleNotFoundError: No module named ‘src‘**
bug解决原创 2022-07-01 19:37:56 · 20279 阅读 · 4 评论 -
对于通过爬虫链接url无法下载问题
python url无法下载数据集原创 2022-06-27 19:16:08 · 1474 阅读 · 0 评论