zhenglab / spiralnet

14 stars 1 forks source link

inplace operation error #7

Open brucelighter opened 1 year ago

brucelighter commented 1 year ago

when training the slicegan, error:

one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [184]] is at version 2; expected version 1 instead. Hint: the backtrace further above shows the operation that failed to compute its gradient. The variable in question was changed in there or anywhere later.