Skip to content

Issue while Predicting #3

@Aishwarya1797

Description

@Aishwarya1797

Hello sir,
I am able to train the model successfully using the code provided in "Deep-learning with Python". I saved the keras model as well.I am trying to predict with a test image of my own. I used the same code as yours but I am running into the error:
ValueError: Error when checking input: expected conv2d_input to have 4 dimensions, but got array with shape (1, 200, 200)

Any idea how to fix this?

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