Deep-Reinforcement-Learning-Algorithms-with-Pytorch icon indicating copy to clipboard operation
Deep-Reinforcement-Learning-Algorithms-with-Pytorch copied to clipboard

Issuee of 2.1

Open sunshine339 opened this issue 1 year ago • 0 comments

Hello, this is the issue for file 2.1. Since I ran the program with the CPU, not CUDA, I changed the default to the CPU in the main dvc, and the model has been successfully trained. But when loading the second image, I get "raise RuntimeError('Attempting to deserialize object on a CUDA'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_location=torch.device('cpu') to map your storages to the CPU.” I don't know how to modify it

sunshine339 avatar Mar 11 '24 01:03 sunshine339