Graph_Convolutional_LSTM icon indicating copy to clipboard operation
Graph_Convolutional_LSTM copied to clipboard

IndexError

Open xhy1286 opened this issue 4 years ago • 0 comments

File "/data/home/u19120777/Graph_Convolutional_LSTM-master/Code_V1/Train_Validate.py", line 108, in TrainRNN loss_interval_train = np.around(sum(losses_train[-interval:]).cpu().numpy()[0]/interval, decimals=8) IndexError: too many indices for array: array is 0-dimensional, but 1 were indexed

my pytorch version is 1.1 python version is 1.7 and I run this model with gpu, but I get troubled with this error..

xhy1286 avatar Mar 29 '21 07:03 xhy1286