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

StopIteration: index 4 is out of bounds for axis 1 with size 2 #2

Open
hszkf opened this issue Sep 28, 2018 · 3 comments
Open

StopIteration: index 4 is out of bounds for axis 1 with size 2 #2

hszkf opened this issue Sep 28, 2018 · 3 comments

Comments

@hszkf
Copy link

hszkf commented Sep 28, 2018

Is there any reason why I got the error? I think the error is because of keras updates but Im not sure how to fix it..
screenshot from 2018-09-28 10-33-43

@hszkf
Copy link
Author

hszkf commented Sep 28, 2018

Could you please list the requirements details for this? Thanks!

@ice-pice
Copy link

ice-pice commented Apr 4, 2019

@hasiftwistcode : were you able to debug this issue?
I am facing the same error. Using tensorflow 1.5.0. Thanks.

@ice-pice
Copy link

ice-pice commented Apr 4, 2019

I figured it out.
The issue is with number of classes. When I changed the number of classes to 9, instead of 2, it worked.
Although the code has more following errors.

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