tlkh / text-emotion-classification

Archived - not answering issues
200 stars 80 forks source link

when checking target: expected dense_6 to have shape (4,) but got array with shape (5,) #17

Open JestinGe0 opened 4 years ago

JestinGe0 commented 4 years ago

Hi, im getting this error "when checking target: expected dense_6 to have shape (4,) but got array with shape (5,)" while running code:

model_log = model.fit(x_train, y_train, validation_data=(x_val, y_val), epochs=200, batch_size=50, callbacks=[tensorboard, lr_schedule])

why this happen?? could anyone solve it???

caro0613 commented 2 years ago

Same error!