Keras: from keras.engine import merge failed

Created on 30 Mar 2017  Â·  3Comments  Â·  Source: keras-team/keras

Here is the error message:

import keras
Using TensorFlow backend.
from keras.engine import merge
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name merge

I tested with both python 2 and python 3, with different versions of Keras.

All give the same error.

Most helpful comment

from keras.layers import merge

All 3 comments

from keras.layers import merge

Thanks. That was what I just figured out.

On Thu, Mar 30, 2017 at 1:53 PM, Fariz Rahman notifications@github.com
wrote:

from keras.layers import merge

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fchollet/keras/issues/6076#issuecomment-290490064,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AO5XQ6whstSCuBqWVZ_hNqYn7bwPUeUnks5rq-wogaJpZM4Mur3l
.

--
Jiabo Li, Ph.D.
Machine Learning Lab, Nielsen

Please close your issue.

Was this page helpful?
0 / 5 - 0 ratings