Closed Miles629 closed 2 years ago
Currently only one GPU is supported. If your GPU does not have sufficient memory, you can try reducing the resolution, increasing the sparsity-inducing regularizer, or switching to optimizer to SGD.
Currently only one GPU is supported. If your GPU does not have sufficient memory, you can try reducing the resolution, increasing the sparsity-inducing regularizer, or switching to optimizer to SGD.
Thanks for your reply, I will try as you suggest. I recommend considering multiple Gpus support because, many people don't have enough memory on one GPU
Thank you for your advice. I have another question which is how to increase the sparsity-inducing regularizer. There are so many configs that I am confused about them.
I just set the as "0,1", but it seems just gpu0 was used.
./launch.sh -c
When I set the as "0", I got
And when I set "0,1" here (try to use 2 gpus) :
./launch.sh <exp_name> <GPU_id> <data_dir> -c <config>
It seems that only one gpu was used.I want to know what is the correct way to use two gpus in this work. Thanks for your help~