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

A merge layer should be called on a list of inputs #1

Closed
liuyuer opened this issue Feb 13, 2018 · 2 comments
Closed

A merge layer should be called on a list of inputs #1

liuyuer opened this issue Feb 13, 2018 · 2 comments

Comments

@liuyuer
Copy link

liuyuer commented Feb 13, 2018

Traceback (most recent call last):
File "example.py", line 50, in
test_my_layer()
File "example.py", line 39, in test_my_layer
b = WeightedAdd()(a)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 590, in call
self.build(input_shapes[0])
File "/usr/local/lib/python2.7/dist-packages/keras/layers/merge.py", line 68, in build
raise ValueError('A merge layer should be called '
ValueError: A merge layer should be called on a list of inputs.

Keras on Tensorflow 1.5

@haifeng-jin
Copy link
Collaborator

Thank you for your report.
This bug is fixed in the latest release.

If you find it is not, please reopen the issue.

@olfaa
Copy link

olfaa commented Nov 16, 2018

Please can you help me I find the same error when I fine tune Unet architecture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants