Open xing-zhou opened 4 years ago
I have 1 gpu for 2GB. When I run train.py, I got "No sufficient resource, available: [], require 2 gpu".
I have 1 gpu for 2GB. When I run train.py, I got "No sufficient resource, available: [], require 2 gpu I encountered the same problem, how can I solve it?
I find the parameters num_gpu=args.ngpu, selected_gpus=args.gpu by default they can be 0 and none,but when I run the train code, it would say Command 'nvidia-smi' returned non-zero exit status 127.. I reviewed the code, in the auto_select_gpu function, though no gpu selected, it would still try info = subprocess.check_output('nvidia-smi', shell=True).decode('utf-8'). so I wonder how can I continue in case of no GPU.