2017-04-02 20 views
1

を持っていない私はtensorflowバックエンドとkerasを使用してmy first demoを実行しようとしたが失敗している:はAttributeError: 'モジュール' オブジェクトが属性 'image_data_format'

Traceback (most recent call last): File "mnist_cnn.py", line 26, in <module> if K.image_data_format() == 'channels_first': AttributeError: 'module' object has no attribute 'image_data_format'

kerasバージョン:1.2.1 tensorflowバージョン:1.0。 1

修正方法?

答えて

1

更新keras2.0.2としました。

関連する問題