I run testing/example.py without Docker, and get an error. CUDA is available on my server. I tried to set the device using torch.device, but still failed. The error information is:
RuntimeError: Expected object of type torch.cuda.LongTensor but found type torch.LongTensor for argument #3 'index
I wonder if example.py could successfully run on GPU without Docker. Thanks a lot.
I run testing/example.py without Docker, and get an error. CUDA is available on my server. I tried to set the device using torch.device, but still failed. The error information is: RuntimeError: Expected object of type torch.cuda.LongTensor but found type torch.LongTensor for argument #3 'index I wonder if example.py could successfully run on GPU without Docker. Thanks a lot.