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

How to employ multiple GPUs during training #148

Open
DennisDannecker opened this issue Dec 17, 2023 · 1 comment
Open

How to employ multiple GPUs during training #148

DennisDannecker opened this issue Dec 17, 2023 · 1 comment

Comments

@DennisDannecker
Copy link

Hello,

I am working my self through the different exemplary notebooks and try to learn/understand/employ n2v to different use cases.
For the installation I very much sticked the documentation provided in the README (thank you very much for this).

When I am running the training, only one of my 2 or 3 (depending on which station I am working on) of my GPUs are made use of. Since the the training takes quite some time, I would like to employ all available resources.

What should I add in the scripts or setup to tell tensorflow to use all GPUs available. The config file for training does not allow to specify the number of GPUs, right?

Thank you very much for your contribution.

Best regards
Dennis

@jdeschamps
Copy link
Member

Hi!

Sorry for the delay. To the best of my knowledge, there is currently no way to train multiple GPU. N2V is based on CSBDeep, you could have a look at the library to see if the library allows it.

We are currently working on a new library that should allow multi GPU training, hopefully to be released in the next two months (for N2V support).

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