You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running this code with pytorch >= 1.5 gives the following error
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor
[3, 64, 7, 7]] is at version 3; expected version 1 instead. Hint: enable anomaly detection to find the operation that failed to compute its
gradient, with torch.autograd.set_detect_anomaly(True).
Running this code with pytorch >= 1.5 gives the following error
See this issue
According to albanD the issue is the discriminator parameters being updated in place but also being needed afterwards.
The error happens here. I'm not familiar enough with GANs yet to know what to fix here.
The text was updated successfully, but these errors were encountered: