Relative Content

Tag Archive for pythonkerasneural-network

Error with neural network input: Wrong input shape

I’m trying to create a neural network to predict the is_canceled column of this dataset for my class assignment. The problem is when i ran model.fit() with some parameter it return the error:
Input 0 of layer “dense_49” is incompatible with the layer: expected axis -1 of input shape to have value 127, but received input with shape (None, 271)
I think there’s some problem with the input layer where i intend to create Embedding for some of my categorical columns and concatenate it with the input for numerical columns. This is my first time doing this and i dont know where is the wrong.
Can someone help me to fix the error.

Error with neural network input: Wrong input shape

I’m trying to create a neural network to predict the is_canceled column of this dataset for my class assignment. The problem is when i ran model.fit() with some parameter it return the error:
Input 0 of layer “dense_49” is incompatible with the layer: expected axis -1 of input shape to have value 127, but received input with shape (None, 271)
I think there’s some problem with the input layer where i intend to create Embedding for some of my categorical columns and concatenate it with the input for numerical columns. This is my first time doing this and i dont know where is the wrong.
Can someone help me to fix the error.

Error with neural network input: Wrong input shape

I’m trying to create a neural network to predict the is_canceled column of this dataset for my class assignment. The problem is when i ran model.fit() with some parameter it return the error:
Input 0 of layer “dense_49” is incompatible with the layer: expected axis -1 of input shape to have value 127, but received input with shape (None, 271)
I think there’s some problem with the input layer where i intend to create Embedding for some of my categorical columns and concatenate it with the input for numerical columns. This is my first time doing this and i dont know where is the wrong.
Can someone help me to fix the error.