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

Tensorflow2教程-基础CNN网络 #12

Open
Baominchao opened this issue Oct 6, 2019 · 2 comments
Open

Tensorflow2教程-基础CNN网络 #12

Baominchao opened this issue Oct 6, 2019 · 2 comments

Comments

@Baominchao
Copy link

您好,我在运行标题的程序时在命令行history = model.fit(x_train, y_train, batch_size=64, epochs=5, validation_split=0.1)遇到了这个问题: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. TF版本是2.0正式版,电脑重启试过还是同样的问题。

@AndrewJSong
Copy link

AndrewJSong commented Oct 6, 2019 via email

@Baominchao
Copy link
Author

谢谢您,启动Jupyter notebook的时候出现了这个:Loaded runtime CuDNN library: 7.5.0 but source was compiled with: 7.6.0. CuDNN library major and minor version needs to match or have higher minor version in case of CuDNN 7.0 or later version. If using a binary install, upgrade your CuDNN library. If building from sources, make sure the library loaded at runtime is compatible with the version specified during compile configuration.
然后我下载了7.6的版本,替换cudnn的版本就行了。再次感谢您。

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