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 utilization #8

Open
alex-mocanu opened this issue Aug 22, 2017 · 3 comments
Open

GPU utilization #8

alex-mocanu opened this issue Aug 22, 2017 · 3 comments

Comments

@alex-mocanu
Copy link

alex-mocanu commented Aug 22, 2017

Hi,

Even though the net takes almost all of the GPU memory, the "Volatile GPU util" remains at 0. Therefore, I conclude that the net doesn't really run on GPU (the very slow training process also suggests this).
I am running the SimGAN with Tensorflow 1.3 and Keras 2.0.6 (I have changed the Convolution2D to Conv2D, even though the original behaved the same way).
Could you tell me the running configuration that you have used for testing (Tensorflow and Keras versions)?

Thank you!

@mjdietzx
Copy link
Owner

From keras docs If you are running on the TensorFlow or CNTK backends, your code will automatically run on GPU if any available GPU is detected. So sounds like maybe could be a problem with your setup? I've been using pytorch lately so not up to date with keras/tensorflow anymore and maybe it is a problem with the code. Have you successfully ran other keras/tensorflow models on your setup?

@alex-mocanu
Copy link
Author

I've run this DCGAN implementation: https://github.com/jacobgil/keras-dcgan, after I've seen that the SimGAN was not behaving well, to check if there were any problems with my configuration.
The DCGAN ran well, taking up to about 75% of the "Volatile GPU util".

@GabrielLin
Copy link

I have the same situation with Tensorflow 1.3.0 and Keras 2.0.5. @alex-mocanu , @mjdietzx , could you please tell me how long you trained the model? Thanks.

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