nusnlp/nea

ValueError: Error when checking target: expected activation_1 to have 3 dimensions, but got array with shape (356, 1)

KeqiLi opened this issue · 2 comments

When I tried to run the codebase it returns such error.

I guess it's probably because of the updated Keras 2 API, but could you try to build it again?

Thanks a lot ;)

izk8 commented

I got these error using Keras 2 as well.

Downgrade to Keras 1.1.0 to solve the issue.

I recommend using a virtualevn.

Are there any other way to fix this? I don't believe downgrade Keras to 1.x to is the only way to solve the issue.