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

error running demo_image.py #6

Open
GodsDusk opened this issue Oct 10, 2017 · 1 comment
Open

error running demo_image.py #6

GodsDusk opened this issue Oct 10, 2017 · 1 comment

Comments

@GodsDusk
Copy link

Traceback (most recent call last):
File "demo_image.py", line 248, in
canvas = process(input_image, params, model_params)
File "demo_image.py", line 49, in process
output_blobs = model.predict(input_img)
File "/Users/env/lib/python2.7/site-packages/keras/engine/training.py", line 1695, in predict
check_batch_axis=False)
File "/Users/env/lib/python2.7/site-packages/keras/engine/training.py", line 111, in _standardize_input_data
'Found: array with shape ' + str(data.shape))
ValueError: The model expects 3 arrays, but only received one array. Found: array with shape (1, 184, 200, 3)

@michalfaber
Copy link
Owner

it's fixed, thanks

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