Keras: NoneType' object has no attribute '_inbound_nodes'

Created on 5 Oct 2018  路  3Comments  路  Source: keras-team/keras

I'm trying to solve this problem for hours but sill getting the NoneType' object has no attribute '_inbound_nodes' error.I think the issue is in tf.add(layer3_1_out,layer3_2_out). please help
image

I tried to attach the code snippet but it didn't detect my code as snippet,sorry for that.please help
Thank you.

support

Most helpful comment

Keras can't create model if you used a tensorflow operation without wrapping it into a layer. You have multiple options:

All 3 comments

Keras can't create model if you used a tensorflow operation without wrapping it into a layer. You have multiple options:

thank you very much.it working fine now :-)

I had a similar error before using Multiply(). However, using Lambda layer solved my issue. @gabrieldemarmiesse thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fredtcaroli picture fredtcaroli  路  3Comments

vinayakumarr picture vinayakumarr  路  3Comments

Imorton-zd picture Imorton-zd  路  3Comments

braingineer picture braingineer  路  3Comments

LuCeHe picture LuCeHe  路  3Comments