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

AAE, merge layer fails on keras 2.2.4 #116

Closed
nartes opened this issue Jan 30, 2019 · 2 comments
Closed

AAE, merge layer fails on keras 2.2.4 #116

nartes opened this issue Jan 30, 2019 · 2 comments

Comments

@nartes
Copy link

nartes commented Jan 30, 2019

latent_repr = merge([mu, log_var],

TypeError: 'module' object is not callable
> aae/aae.py(72)build_encoder()
     70         latent_repr = merge([mu, log_var],
     71                 mode=lambda p: p[0] + K.random_normal(K.shape(p[0])) * K.exp(p[1] / 2),
---> 72                 output_shape=lambda p: p[0])
     73 
     74         return Model(img, latent_repr)
@nartes nartes changed the title Fails on keras 2.2.4 AAE, merge layer fails on keras 2.2.4 Jan 30, 2019
@ghost
Copy link

ghost commented Jan 31, 2019

What about this?
#108

@nartes
Copy link
Author

nartes commented Jan 31, 2019

yeah, seems to be a duplicate of that one

@nartes nartes closed this as completed Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant