Skip to content

Fix export model pipeline 1963 - #1967

Open
sugata100 wants to merge 2 commits into
keras-team:masterfrom
sugata100:fix-export-model-pipeline-1963
Open

Fix export model pipeline 1963#1967
sugata100 wants to merge 2 commits into
keras-team:masterfrom
sugata100:fix-export-model-pipeline-1963

Conversation

@sugata100

Copy link
Copy Markdown

Which issue(s) does this Pull Request fix?

resolves #000

Details of the Pull Request

… for accurate inference

- Add CategoricalToNumericalLayer as a serializable Keras layer
- Update export_model to build a self-contained model that applies input preprocessors
- Ensures exported and reloaded models match AutoModel.evaluate/predict on structured data with categoricals
- Registers the new layer in CUSTOM_OBJECTS
fix keras-team#1963)

Also register CategoricalToNumericalLayer in CUSTOM_OBJECTS so that
keras.models.load_model works after saving the exported model.
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 this pull request may close these issues.

1 participant