SpA-GAN_for_cloud_removal
SpA-GAN_for_cloud_removal copied to clipboard
Run the Code with CPU only
I'm trying to run the Code with CPU so I changed the map_location=None to map_location=torch.device('cpu') .
Now I become the TypeError: Device(): argument 'type' (position 1) must be str, not NoneType .
How can I solve this problem?