Closed MarionBWeinzierl closed 1 year ago
https://github.com/m2lines/gz21_ocean_momentum/blob/ef0c1c59e311f8c2b07671f30e8e711819b43175/src/gz21_ocean_momentum/trainScript.py#L388 leads to an error:
RuntimeError: Invalid device, must be cuda device
if run on a CPU.
Should be replaced by
net.to(device)
(I think)
Fixed by #73
https://github.com/m2lines/gz21_ocean_momentum/blob/ef0c1c59e311f8c2b07671f30e8e711819b43175/src/gz21_ocean_momentum/trainScript.py#L388 leads to an error:
RuntimeError: Invalid device, must be cuda device
if run on a CPU.
Should be replaced by
net.to(device)
(I think)