Closed kai-wen-yang closed 2 years ago
I have 4 gpu on my machine, and I want to run your code on gpu 1, my command is:
python train_cifar.py --gpu_ids 1
But it raises issue:
model = model.to(device) RuntimeError: CUDA error: invalid device ordinal
My gpu is normal. Do you have any idea?
The argument is gpuid, singular form.
I have 4 gpu on my machine, and I want to run your code on gpu 1, my command is:
But it raises issue:
My gpu is normal. Do you have any idea?