Thanks for your work! I'm interested in the excellent work but I got errors when I retry it:
"RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.FloatTensor [36, 32]], which is output 0 of ViewBackward, is at version 2; 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)."
Do you know how to deal with it? Thanks!
Thanks for your work! I'm interested in the excellent work but I got errors when I retry it: "RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.FloatTensor [36, 32]], which is output 0 of ViewBackward, is at version 2; 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)." Do you know how to deal with it? Thanks!