-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how can I run training on single GPU not gpu 0?--gpus 1 doesn't work #440
Comments
I haven't met this. Can you be more specific? |
I set --gpus 2 in start command Graphics card usage situation is here, you can see gpu 2 is not working. Wed Nov 6 09:53:11 2019 +-----------------------------------------------------------------------------+ |
I guess I know what caused this problem. |
This is intended. I have reset the CUDA_VISIBLE_DEVICES to the original |
I have commented out |
I tried some ways to solve it. |
Closing this since the problem is solved. |
@Shawnnnnn |
@Shawnnnnn |
python src/main.py ctdet --exp_id dior_dla20200616 --batch_size 24 --lr 2e-4 --gpus 1,2,3 --lr_step 30,60,80 --num_epochs 100 |
Thank you so much @Shawnnnnn |
I have to set --gpus 1 in my code, but it still run on GPU 0. It doesn't seem to work.
How can I fix this problem?? Thx for ur work!!
The text was updated successfully, but these errors were encountered: