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

3_multi_gpu.py #7

Closed
creater-zq opened this issue Jan 3, 2021 · 1 comment
Closed

3_multi_gpu.py #7

creater-zq opened this issue Jan 3, 2021 · 1 comment

Comments

@creater-zq
Copy link

37行'if not gpu_memory:'是不是应该改为'if gpu_memory:'。因为能计算显存才可执行下面的代码选择物理gpu。

@TingsongYu
Copy link
Collaborator

37行'if not gpu_memory:'是不是应该改为'if gpu_memory:'。因为能计算显存才可执行下面的代码选择物理gpu。

对的,已经改为了if gpu_memory,多谢纠正

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