FazelYU / Adaptive-Navigation

9 stars 0 forks source link

RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation #41

Closed FazelYU closed 2 years ago

FazelYU commented 2 years ago

RuntimeError: one of the variables needed for gradient computation has been modified by an in-place operation: [torch.FloatTensor [1, 2, 4]] 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. Good luck!

FazelYU commented 2 years ago

The end to end design requires feeding the network state in every time step