Seanny123 / da-rnn

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

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

Open noopuserr opened 4 years ago

noopuserr commented 4 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?