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

Running on GPU #74

Open
OOps717 opened this issue May 9, 2020 · 2 comments
Open

Running on GPU #74

OOps717 opened this issue May 9, 2020 · 2 comments

Comments

@OOps717
Copy link

OOps717 commented May 9, 2020

Hello, I am trying to run training on both my computer and google colab, however even if I am trying to change something it still trains on CPU. I am guessing if there is any solution ?

@kheniparth
Copy link

I did face that issue and found that you would have to remove tensorflow package and install tensorflow-gpu package for python and then the code will start utilizing GPU RAM. But my CPU is still getting utilized 100% not sure, why but I can confirm that the training rate is increased exponentially.

Note: tensorflow-gpu package will require some extra configuration to be done or else you will start getting errors, also you would have to you python 3.6 env or else this code breaks (learnt this the hard way )

@Pawandeep-prog
Copy link

The solution i am going to share worked for me

first,

unistall tensorflow from environment
**pip uninistall tensorflow**

then,

install tensorflow-gpu 1.14
**pip install tensorflow-gpu==1.14**

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