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 have facing issue in my code error is cude is not availabe

New contributor

M.Rashid khan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.