Open Usmaniatech opened 5 years ago
I am using cuda to work on MADDPG and it gives following error:
CUDA error (10): invalid device ordinal
I am using:
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") device = "cpu"
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
to train on cuda. but i get the error.
I am using cuda to work on MADDPG and it gives following error:
I am using:
to train on cuda. but i get the error.