Skip to content

Error when checking : expected embedding_1_input to have shape (None, 30) but got array with shape (2000, 50) #2

Description

@monajalal

I ran the following:
[jalal@goku src]$ python sarcasm_detection_model_attention.py
(commented the training part).
And got this error:


#_L_S
#_s_t
#_S_h
#_s_w
#_f_u
#_n_o
#_B_u
#_t_o
#_n_e
#_t_r
#_I_J
#_l_i

vocab loaded...
Token coverage: 0.4024455818214407
Word coverage: 0.006309334276785187
Error: Error when checking : expected embedding_1_input to have shape (None, 30) but got array with shape (2000, 50)

Do you know how should I fix it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions