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

NOOB Question: Input 0 is incompatible with layer model_3: #74

Open
peoplecure opened this issue Dec 28, 2020 · 1 comment
Open

NOOB Question: Input 0 is incompatible with layer model_3: #74

peoplecure opened this issue Dec 28, 2020 · 1 comment

Comments

@peoplecure
Copy link

Hi, I have a noob question. I get an error message each time I use my image.

ValueError: Input 0 is incompatible with layer model_3: expected shape=(None, None, None, 3), found shape=(1, 499, 552, 4)

MY guess is that I need to remove the first three values in shape=(1, 499, 552, 4). Am I correct?

@krasserm
Copy link
Owner

Seems you're using an RGBA image (4 channels). You need to convert it to an RGB image first (3 channels).

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