Skip to content
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

I use two gpus, how do I modify the parameters #5

Open
cookies1109 opened this issue May 11, 2020 · 1 comment
Open

I use two gpus, how do I modify the parameters #5

cookies1109 opened this issue May 11, 2020 · 1 comment

Comments

@cookies1109
Copy link

I use two gpus, how do I modify the parameters?thank you

@mikeyEcology
Copy link

I ran on two GPUs by modifying the code in main.py, line 21.
I changed it from os.environ['CUDA_VISIBLE_DEVICES'] = '4,5,6,7' to
os.environ['CUDA_VISIBLE_DEVICES'] = '0,1' (or use whatever device IDs you want to use)

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