czy36mengfei / tensorflow2_tutorials_chinese

tensorflow2中文教程,持续更新(当前版本:tensorflow2.0),tag: tensorflow 2.0 tutorials

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tensorflow2教程-基础CNN网络

Baominchao opened this issue · comments

您好,我在运行标题的程序时在命令行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正式版,电脑重启试过还是同样的问题。

谢谢您,启动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的版本就行了。再次感谢您。