Open
Description
您好,打扰了!
运行程序会报这个错:
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [65536, 1]], which is output 0 of TBackward, is at version 6; expected version 5 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).
您知道这是什么原因吗?
Metadata
Metadata
Assignees
Labels
No labels