Traceback (most recent call last):
File "/home/s111062588/NodeFormer/main-batch.py", line 136, in <module>
x_i = x[idx_i].to(device)
RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu)
Could you please explain why this error occurred and how to resolve it?
Thank you!
When running the following command with the
amazon2m
dataset:I encountered the following runtime error:
Could you please explain why this error occurred and how to resolve it? Thank you!