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 or CPU #1

Open
w52191 opened this issue May 27, 2021 · 2 comments
Open

GPU or CPU #1

w52191 opened this issue May 27, 2021 · 2 comments

Comments

@w52191
Copy link

w52191 commented May 27, 2021

请问你用的是GPU还是CPU训练的? 如果是GPU,能否分享一下你的安装环境,比如CUDA,cudnn版本,TensorFlow和Keras的版本等?我尝试过各种组合都没能把GPU版本跑起来。非常感谢!

@xieck13
Copy link
Owner

xieck13 commented May 27, 2021 via email

@w52191
Copy link
Author

w52191 commented May 27, 2021

微信已加。
那环境是自己创建的还是用NILMTK-CONTRIB推荐的方法,

conda create -n nilm -c conda-forge -c nilmtk nilmtk-contrib

它推荐的这个方法,默认安装Python3.7,Keras和TensorFlow也是比较高的版本。我现在能够运行除RNN以外的其它模型,但是GRU和RNN没办法用cudnn加速。训练比直接跑CPU还慢。

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