Seanny123 / da-rnn

Dual-Stage Attention-Based Recurrent Neural Net for Time Series Prediction
333 stars 118 forks source link

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

Open noopuserr opened 5 years ago

noopuserr commented 5 years ago

When I run main.py, the program has an error,‘one of the variables needed for gradient computation has been modified by an inplace operation’, I am trying to modify an item with +=,but it doesn't work.Can someone help solve this problem?