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

AttributeError: 'Node' object has no attribute 'output_masks' #118

Open
hichamhendy opened this issue Sep 5, 2019 · 1 comment
Open

Comments

@hichamhendy
Copy link

keras | 2.2.5 | 2.2.4
keras-applications | 1.0.8 | 1.0.8
keras-preprocessing | 1.1.0 | 1.1.0
scipy | 1.3.1 | 1.3.1
setuptools | 39.1.0 | 41.0.1
six | 1.12.0 | 1.12.0
tensorboard | 1.9.0 | 1.14.0
tensorflow | 1.9.0 | 1.14.0
tensorflow-estimator | 1.14.0 | 1.14.0
tensorflow-gpu | 1.9.0 | 1.14.0
termcolor | 1.1.0 | 1.1.0
theano | 1.0.2 | 1.0.3

I have this error always in the script base_layer.py !!!

File "C:\ProgramData\Anaconda3\envs\LHP_Modell_Control_new_py35\lib\site-packages\keras\engine\base_layer.py", line 1305, in _collect_previous_mask
mask = node.output_masks[tensor_index]
AttributeError: 'Node' object has no attribute 'output_masks'

any suggestions ??

@nils-hde
Copy link

nils-hde commented Jan 7, 2020

Use Keras 2.2.4. Anything above is not supported since they've changed the API again, couldn't figure out what happened to "_collect_previous_mask" though.

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

2 participants