SpA-GAN_for_cloud_removal icon indicating copy to clipboard operation
SpA-GAN_for_cloud_removal copied to clipboard

Run the Code with CPU only

Open s86707 opened this issue 1 year ago • 0 comments

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?

s86707 avatar Jul 27 '23 08:07 s86707