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 run train.py using GPU not CPU #9

Open
wuxifang1994 opened this issue Sep 26, 2017 · 2 comments
Open

how to run train.py using GPU not CPU #9

wuxifang1994 opened this issue Sep 26, 2017 · 2 comments

Comments

@wuxifang1994
Copy link

wuxifang1994 commented Sep 26, 2017

Hi,everyone!
When I run train.py, it always using the CPU to speed up ,but the training speed is so slow that I have to spend several days to train the model and then check the result .
I also use "CUDA_VISIBLE_DEVICES="0" python3 train.py" to run the train.py,but it do not work.
So is the code support GPU? And how to using it to train the model?
Thank you so much!

W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations

@pabloelizalde
Copy link

Hi! Have you solved this issue?

@cmbowyer13
Copy link

Has this been solved?

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