- 博客(2)
- 问答 (1)
- 收藏
- 关注
原创 raise ValueError(‘Expected more than 1 value per channel when training, got input size {}‘
可能因为self.training=True 导致BatchNorm操作认为还在训练阶段。把batch_size的值改为大于1的数。
2024-04-26 15:47:14 49 1
原创 报错解决:one of the variables needed for gradient computation has been modified by an inplace operation
报错解决:one of the variables needed for gradient computation has been modified by an inplace operation
2023-11-27 15:17:44 3278 1
空空如也
Python 升级pip出错#求帮助
2022-03-12
TA创建的收藏夹 TA关注的收藏夹
TA关注的人