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

automatically handling Keras 'Error when checking model input' #13

Closed
mikkokotila opened this issue Apr 23, 2017 · 2 comments
Closed

automatically handling Keras 'Error when checking model input' #13

mikkokotila opened this issue Apr 23, 2017 · 2 comments
Assignees

Comments

@mikkokotila
Copy link
Contributor

This seems to be pretty common especially before getting used to the paradigm upon which Keras operates. For example you give in two features but did not set dimensions to 2 (now it's 300 by default). One solution would be at some point before building the model to detect shape and use that as dims, unless dims is set (and set 'auto' by default). Then if 'auto' is not set, and there is the error we could provide a more clear error message that suggests the action to take.

@mikkokotila
Copy link
Contributor Author

Apparently you can have dims < than features but not the other way around. But it's probably not a good idea to have less dims than features ;)

How do you think we best handle this?

@mikkokotila
Copy link
Contributor Author

Closing this for now as we have better use of time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants