Skip to content

Fix the keras_tuner bug #2

@GoatedChopin

Description

@GoatedChopin

https://stackoverflow.com/questions/55731589/cnn-keras-valueerror-negative-dimension-size-caused-by-subtracting-3-from-2-fo

It seems like maybe the padding is the issue, maybe you can add padding = "same" on each Conv2D layer to resolve the issue.

ex. model.add(layers.Conv2D(64, (3, 3), activation='relu', padding='same'))

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