Closed ReverseSystem001 closed 4 years ago
Do you set gpu avaiable env CUDA_VISIBLE_DEVICES
?
you mean I should run sh train.sh like: CUDA_VISIBLE_DEVICES=0,1,2,3 sh train.sh ?
yes, set CUDA_VISIBLE_DEVICES="0,1,2,3"
It seems does not work.
Can you provide your training commod?
pick any two from the gpus, it will works. when the gpu numbers are 3 or 4 .it will report errors like above. all of the config are default. I run : CUDA_VISIBLE_DEVICES=0,1,2,3 sh train.sh, training commod?? you mean which script?
please change CUDA_VISIBLE_DEVICES="0,1,2,3"
in train.sh , then run command sh train.sh
get it. thanks
I have 4 GPUS. when I write GPU=[0,1,2,3] in the config.py, it will report errors. But when i write GPU=[0,1]. it works well. That's strange