stn.pytorch icon indicating copy to clipboard operation
stn.pytorch copied to clipboard

Bug in gpu support

Open maga33 opened this issue 8 years ago • 1 comments

Hi, Thank you for sharing great code. I found that the code works fine with gpu_id = 0, but it raises cuda runtime error if I tried to run it on different gpus. I guess some parts of codes are implicitly assuming to use default gpu, which would be great to be modified in the future.

maga33 avatar Jun 08 '17 02:06 maga33

I just updated it to support non-default device id. An example can be found in test.py. Let me know if that works for you, thanks a lot!

fxia22 avatar Jun 12 '17 18:06 fxia22