tensorflow-gpu 1.4使用的keras版本 [英] keras version to use with tensorflow-gpu 1.4

查看:851
本文介绍了tensorflow-gpu 1.4使用的keras版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将ubuntu 16与python 3,带有keras的tf-GPU一起使用.

I am using ubuntu 16, with python 3, tf-GPU with keras.

由于此处

但是现在我遇到了这个错误

But now I am getting this error

TypeError:softmax()得到了意外的关键字参数'axis'

TypeError: softmax() got an unexpected keyword argument 'axis'

似乎这是张量流中的 API更改,而新的keras不是适合旧的TF.

Seems that this is an API change in tensorflow and new keras is not suitable for the old tf.

我找不到与tf 1.4 gpu一起使用的正确的keras版本.正确的是什么?

I can't find what is the correct keras version to use with tf 1.4 gpu. What is the correct one?

推荐答案

Keras-Tensorflow版本的兼容性是我多次遇到的问题.我过去使用过(保留在书签中),此链接,匹配项为keras版本.我相信 keras 2.0.8 tensorflow 1.4

Keras - Tensorflow version's compatibility is problem that i have faced many times. I have used in the past (kept in bookmarks), this link, with matches of tensorflow and keras versions. I believe that keras 2.0.8 is compatible with tensorflow 1.4

这篇关于tensorflow-gpu 1.4使用的keras版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆