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

langml does not match tensorflow_gpu #7

Open
buthi opened this issue Jun 12, 2022 · 4 comments
Open

langml does not match tensorflow_gpu #7

buthi opened this issue Jun 12, 2022 · 4 comments

Comments

@buthi
Copy link

buthi commented Jun 12, 2022

No description provided.

@buthi buthi changed the title langml does not match tensorFLOW_GPU langml does not match tensorflow_gu Jun 12, 2022
@buthi buthi changed the title langml does not match tensorflow_gu langml does not match tensorflow_gpu Jun 12, 2022
@buthi
Copy link
Author

buthi commented Jun 12, 2022

I replayed your paper and found that only CPU was used for training. Please ask if you can provide a way to use GPU

@SeanLee97
Copy link
Contributor

SeanLee97 commented Jun 12, 2022

Sorry for the delayed reply.

Firstly, please ensure that the GPU is available in your environment, you can test the availability as follows:

$ python -c "import tensorflow as tf; print('CUDA Avaliable:', tf.test.is_gpu_available())"

If the GPU is not available, please ensure that the installed TensorFlow is the GPU version.

If the GPU is available, you should check the TF and Keras versions.

$ pip list | egrep "tensorflow|keras"

or

$ conda list | egrep "tensorflow|keras"

for conda.

tensorflow==1.15.0 and Keras==2.3.1 are recommended.

@buthi
Copy link
Author

buthi commented Jun 14, 2022

抱歉延迟回复。

首先,请确保GPU在您的环境中可用,您可以通过以下方式测试可用性:

$ python -c "import tensorflow as tf; print('CUDA Avaliable:', tf.test.is_gpu_available())"

如果 GPU 不可用,请确保安装的 TensorFlow 是 GPU 版本。

如果 GPU 可用,则应检查 TF 和 Keras 版本。

$ pip list | egrep "tensorflow|keras"

或者

$ conda list | egrep "tensorflow|keras"

对于康达。

tensorflow==1.15.0并被Keras==2.3.1推荐。

Thank you for your guidance. I checked it again as you instructed.
b485dfa764c96cddea48517529d9913
f24057c0bb8f35cd11f8ff06c33196e
There should be no problems, but the GPU utilization is 0 during training, so only CPU should be used
1655173591617

@BABBU18
Copy link

BABBU18 commented Mar 20, 2024

请问GPU的问题解决了吗

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