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

Multi-GPUs problem #4

Open
BongBong87 opened this issue Sep 14, 2019 · 4 comments
Open

Multi-GPUs problem #4

BongBong87 opened this issue Sep 14, 2019 · 4 comments

Comments

@BongBong87
Copy link

BongBong87 commented Sep 14, 2019

Does this model can train and test in Multi-GPUs? Thank you

@Peilun-Li
Copy link
Owner

The code is single-GPU only at that time. For the model, at training time we found batch size 1 would end up with the best performance (perhaps restricted by dataset size); at test time it could be paralleled/distributed for faster inference,

@BongBong87
Copy link
Author

Thank you so much for quick reply. In case If I change the bath size to 4 or 8. Which part I need to modify for multi-GPUs. Thanks again.

@Peilun-Li
Copy link
Owner

You may have to restructure model.py to place generators/discriminators in different GPUs. https://www.tensorflow.org/guide/using_gpu .

@BongBong87
Copy link
Author

Okay. Thank you so much for your sharing

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