We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
作者您好,我想知道训练的时候怎么指定GPU的型号,每次我使用指令CUDA_VISIBLE_DEVICES=2,3这条指令的时候,似乎不管用,还是使用的默认的前两块GPU,请问您如何解决这个问题。
The text was updated successfully, but these errors were encountered:
在trainer.py加
import os
os.environ["CUDA_VISIBLE_DEVICES"] = "4,5"
Sorry, something went wrong.
No branches or pull requests
作者您好,我想知道训练的时候怎么指定GPU的型号,每次我使用指令CUDA_VISIBLE_DEVICES=2,3这条指令的时候,似乎不管用,还是使用的默认的前两块GPU,请问您如何解决这个问题。
The text was updated successfully, but these errors were encountered: