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

GPU training speed slower than CPU #2

Closed
nebulasdice opened this issue Aug 15, 2018 · 2 comments
Closed

GPU training speed slower than CPU #2

nebulasdice opened this issue Aug 15, 2018 · 2 comments

Comments

@nebulasdice
Copy link

When i use tensorflow-gpu to train, the GPU utility is only 4%. and the training speed is slower than CPU.
How dose this happen? My CUDA and tensorflow-gpu haven been tested and they work just fine.

I did some search and one interpretation is that the data loading algorithm is not parallel so the GPU can not show its power. Is this the problem i'm facing?

@Kalelv45
Copy link

Since the main problem for me was the math error (out of reach). I decided to live everything as it was, and just change the sigmoid function. Now it goes way faster.

Don't know if it was caused by those imports (early stops and others), that weren't present in the siraj code.

Hope it helped.

@xtr33me
Copy link
Owner

xtr33me commented Aug 20, 2018

It seems some logic I added for trying to incorporate Tensorboard into Keras via callbacks was slowing things down. I have gone about removing the code for now in the latest commit. Closing this.

@xtr33me xtr33me closed this as completed Aug 20, 2018
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

3 participants