Skip to content

run make.sh how we can choose which GPU to use #31

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

Closed
liyuanyaun opened this issue Jun 23, 2017 · 2 comments
Closed

run make.sh how we can choose which GPU to use #31

liyuanyaun opened this issue Jun 23, 2017 · 2 comments

Comments

@liyuanyaun
Copy link

when i just run make.sh, i can only use gpu 0 which is default, how can i choose which gpu to use? please someone could help me

@Cadene
Copy link

Cadene commented Aug 3, 2017

CUDA_VISIBLE_DEVICES=0 python train.py for GPU 0

CUDA_VISIBLE_DEVICES=1 python train.py for GPU 1

CUDA_VISIBLE_DEVICES=2 python train.py for GPU 2

CUDA_VISIBLE_DEVICES=n python train.py for GPU n

@liyuanyaun
Copy link
Author

thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants