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 usage #6

Open
attardi opened this issue Oct 31, 2017 · 1 comment
Open

GPU usage #6

attardi opened this issue Oct 31, 2017 · 1 comment

Comments

@attardi
Copy link

attardi commented Oct 31, 2017

I have tried to run the code on a server with 4 Nvidia GPUS and the performance drops 6 times with respect to using a CPU on a notebook.
Is there a way to exploit GPUs better?

@Leavingseason
Copy link
Owner

hi attardi,
I have been working on some urgent projects recently and hopely will investigate the problem a.s.a.p.
For a short try, could you please test replacing the l2 regularization (lines 339 to 350) with tf.nn.l2_loss() ? In our experience, it help boosting the program.

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