Skip to content

Support Keras functional API in SQLFlow #1093

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

Closed
typhoonzero opened this issue Oct 28, 2019 · 1 comment · Fixed by #1271
Closed

Support Keras functional API in SQLFlow #1093

typhoonzero opened this issue Oct 28, 2019 · 1 comment · Fixed by #1271
Assignees

Comments

@typhoonzero
Copy link
Collaborator

This is also a part of sql-machine-learning/models#22, to unify custom model for both SQLFlow and ElasticDL.

Need to update the document https://github.com/sql-machine-learning/sqlflow/blob/develop/doc/design/design_customized_model.md if the feature is implemented.

To use the feature column together with Keras functional API please refer to tensorflow/tensorflow#27416 (comment) for implementation detail.

@typhoonzero typhoonzero self-assigned this Oct 28, 2019
@typhoonzero
Copy link
Collaborator Author

typhoonzero commented Oct 29, 2019

PS: we can implement custom model functional API like https://github.com/sql-machine-learning/elasticdl/blob/develop/model_zoo/cifar10_functional_api/cifar10_functional_api.py. The function returns tf.keras.Model should have a more meaningful name describing the current model, like MyDNNClassifier etc.

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

Successfully merging a pull request may close this issue.

1 participant