slei109/PATNet

Problem running program on non cuda:0

TungChintao opened this issue · 1 comments

When I tried to run the program on a GPU other than cuda: 0, for example, on cuda: 4, the program reported an error:tensors were found at cuda:0 and cuda:4.
setting and result are here
QQ截图20230905201445
QQ截图20230905201631

The default setting for data is on cuda0. You should revise the cuda id for data as well. It can be revised in Common/utils.py to_cuda() function.