Keras Backend Modeling Issue

后端 未结 1 599
一整个雨季
一整个雨季 2021-01-29 04:24

I am having an issue declaring my model. My inputs are x_input and y_input, and my outputs are predictions. As follows:

model = Model(inputs = [x_input, y_input]         


        
相关标签:
1条回答
  • 2021-01-29 04:40

    Did you tried wrapping the backend functions into a Lambda layer? I think there are some necessary operations within a Keras layer's __call__() method for a Keras Model to be properly built, which will not be executed if you call the backend functions directly.

    0 讨论(0)
提交回复
热议问题