Loading

Function 'UpsampleBilinear2DBackward1' returned nan values

原因是之前给代码debug的时候加上了with torch.autograd.detect_anomaly,去掉即可。参考:https://github.com/pytorch/pytorch/issues/38714

posted @ 2023-10-13 18:38  脂环  阅读(10)  评论(0编辑  收藏  举报