Skip to content

Unable to save model with h5 format #580

Answered by mrdbourke
johnloh47 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @johnloh47 ,

Is there a specific reason you'd need to save in .h5?

Have you tried the other formats such as SavedModel or .keras?

Perhaps this discussion answer will help more: #412 (comment)

You can also export the TextVectorization layer as part of the model if you need: https://www.tensorflow.org/tutorials/keras/text_classification#export_the_model

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@johnloh47
Comment options

@mrdbourke
Comment options

Answer selected by mrdbourke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants