Skip to content

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

@akpeker

Description

@akpeker


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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions