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.
cryptobrims opened this issue · 1 comments
cryptobrims commented
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.
Getting this error when trying to generate an image. Added all 3 checkpoints already. I also added "map_location=torch.device('cpu') to the pixelization_model.py file after doing some googles but same error
cryptobrims commented
Someone actually provided a fix for this already