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

ex9_3_advanced_keras.py 에서 발생하는 ValueError #9

Open
inyong37 opened this issue Jul 8, 2020 · 0 comments
Open

ex9_3_advanced_keras.py 에서 발생하는 ValueError #9

inyong37 opened this issue Jul 8, 2020 · 0 comments

Comments

@inyong37
Copy link

inyong37 commented Jul 8, 2020

Backend_for_Lambda()yp = m.predict_on_batch([[1, 2, 3], [3, 4, 8]]) 부분에서 다음과 같은 에러가 발생하고 있습니다.

ValueError: Error when checking model input: the list of Numpy arrays that you are passing to your model is not the size the model expected. Expected to see 1 array(s), but instead got the following list of 2 arrays: [array([[1],
       [2],
       [3]]), array([[3],
       [4],
       [8]])]...

https://keras.io/ko/models/sequential/의 predict_on_batch를 참고해 보았지만, 어떻게 해결하면 좋을지 문의하고자 이슈 남깁니다.

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

1 participant