MTGNN
MTGNN copied to clipboard
A question about tensors
Dear Author , I admire your project but when I was running your code , I met an error and I can't solve it . I build the environment as your instruction and tried to run the traffic dataset. It trace back like this:
Traceback (most recent call last):
File "train_single_step.py", line 218, in
Can you provide the script you run the code?
Hi, I am having the same issue when running it on the electricity dataset. The command we ran was:
python train_single_step.py --save ./model-electricity-3.pt --data ./data/electricity.txt --num_nodes 321 --batch_size 4 --epochs 30 --horizon 3 --device cuda:0
tensors used Please add id = id.long() before tx = X[:, :, id, :], I hope it will resolve the problem.