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 while training #40

Open
meet-minimalist opened this issue Jul 24, 2019 · 1 comment
Open

ValueError while training #40

meet-minimalist opened this issue Jul 24, 2019 · 1 comment

Comments

@meet-minimalist
Copy link

ValueError: Cannot copy sequence with size 3 to array axis with dimension 19.

19 is max_text_len.

@NikhilShaw
Copy link

Getting same error in image_generator.py line 63: "Y_data[i] = text_to_labels(text)". It is because of length of Y_data[i[ is max_text_len whereas text_to_lables(text) returns list of length same as text. Possible solution will be to use padding.

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