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

cnn2d() in models.py is not working #6

Open
akpeker opened this issue Feb 17, 2020 · 0 comments
Open

cnn2d() in models.py is not working #6

akpeker opened this issue Feb 17, 2020 · 0 comments

Comments

@akpeker
Copy link

akpeker commented Feb 17, 2020


cnn2d function in models.py have layer size issues; gives error by Keras:
ValueError: Input 0 is incompatible with layer conv2d_31: expected ndim=4, found ndim=3

Also, there are minor bugs:

  • model = Sequential() is missing at the beginning.
  • num_classes is used as parameter, but nb_classes is used in the function.
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

1 participant