![](https://img-blog.csdnimg.cn/direct/e99e44b3ead44fa78c2211b5f5546bcd.jpeg?x-oss-process=image/resize,m_fixed,h_224,w_224)
踩坑记录
记录一些debug过程
一只菟葵
存一些学习笔记
展开
-
【解决报错】RuntimeError: Trying to backward through the graph a second time, but the buffers have already
解决报错:反向传播梯度计算过程中的错误Pytorch - RuntimeError: Trying to backward through the graph a second time, but the buffers have already been freed原创 2024-03-22 20:52:42 · 749 阅读 · 0 评论 -
【解决报错】关于loss反向传播报错RuntimeError: grad can be implicitly created only for scalar outputs
解决报错:关于loss反向传播RuntimeError: grad can be implicitly created only for scalar outputs原创 2024-03-20 15:09:27 · 1163 阅读 · 0 评论 -
【解决报错】RuntimeError: Function ‘SqrtBackward0‘ returned nan values in its 0th output
解决报错:RuntimeError: Function 'SqrtBackward0' returned nan values in its 0th output原创 2024-03-20 11:26:47 · 378 阅读 · 1 评论 -
【解决报错】RuntimeError: Expected to have finished reduction in the prior iteration before starting a new
解决报错:RuntimeError: Expected to have finished reduction in the prior iteration before starting a new原创 2024-03-19 15:15:40 · 222 阅读 · 0 评论 -
【解决报错】vi/vim修改文件时报错:Found a swap file by the name xxxxx
解决报错:vim打开文件提示:Found a swap file by the name xxxxx原创 2024-03-19 14:48:47 · 575 阅读 · 0 评论 -
【解决报错】UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xba in position 5852: invalid start byte…
解决报错:UnicodeDecodeError: ‘utf-8' codec can't decode byte 0xba in position 5852: invalid start byte……原创 2024-03-18 17:50:56 · 948 阅读 · 0 评论 -
【解决警告】多卡DDP分布式训练报错Warning: find_unused_parameters=True was specified in DDP constructor, but did not
解决警告:多卡DDP分布式训练报错Warning: find_unused_parameters=True was specified in DDP constructor, but did not find any unused parameters in the forward pass. This flag results in an extra traversal of the autograd graph every iteration, which can adversely affect原创 2024-03-18 20:00:58 · 1321 阅读 · 0 评论