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

ValueError #43

Open
jyostnab opened this issue Jan 11, 2020 · 1 comment
Open

ValueError #43

jyostnab opened this issue Jan 11, 2020 · 1 comment

Comments

@jyostnab
Copy link

ValueError: Dimension 1 in both shapes must be equal, but are 100 and 10000. Shapes are [?,100] and [?,10000]. for 'bidirectional_20/while/Select' (op: 'Select') with input shapes: [?,10000], [?,100], [?,100].

@sauteed-mackerel
Copy link

Which notebook are you running?
If HATT, there is a known issue regarding mask handling by the custom Attention layer.
Try disabling the mask for the custom layer.

https://github.com/richliao/textClassifier/blob/master/textClassifierHATT.py#L153
Change to return None.

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

2 participants