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

Input shape for simple_forecasting #4

Open
clu5 opened this issue Jul 15, 2017 · 0 comments
Open

Input shape for simple_forecasting #4

clu5 opened this issue Jul 15, 2017 · 0 comments

Comments

@clu5
Copy link

clu5 commented Jul 15, 2017

I'm using Python 3 and getting dimension mismatch in keras
Exception: Error when checking model input: expected dense_input_1 to have shape (None, 20) but got array with shape (0, 1)
Can you please tell me what the input should be to the model?

This is my output using model.summary()


____________________________________________________________________________________________________
Layer (type)                     Output Shape          Param #     Connected to                     
====================================================================================================
dense_37 (Dense)                 (None, 500)           10500       dense_input_13[0][0]             
____________________________________________________________________________________________________
activation_30 (Activation)       (None, 500)           0           dense_37[0][0]                   
____________________________________________________________________________________________________
dropout_11 (Dropout)             (None, 500)           0           activation_30[0][0]              
____________________________________________________________________________________________________
dense_38 (Dense)                 (None, 250)           125250      dropout_11[0][0]                 
____________________________________________________________________________________________________
activation_31 (Activation)       (None, 250)           0           dense_38[0][0]                   
____________________________________________________________________________________________________
dense_39 (Dense)                 (None, 1)             251         activation_31[0][0]              
____________________________________________________________________________________________________
activation_32 (Activation)       (None, 1)             0           dense_39[0][0]                   
====================================================================================================
Total params: 136001
____________________________________________________________________________________________________
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