pytorch-tutorial icon indicating copy to clipboard operation
pytorch-tutorial copied to clipboard

Cuda is true why don`t use it?

Open usemyhand opened this issue 2 years ago • 0 comments

RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_locatio n=torch.device('cpu') to map your storages to the CPU.

usemyhand avatar Sep 18 '23 04:09 usemyhand