Skip to content

fix: update model save format to .keras for Keras 3 compatibility#3631

Open
ajayraj30002 wants to merge 1 commit into
tensorflow:mainfrom
ajayraj30002:fix-keras3-save-format
Open

fix: update model save format to .keras for Keras 3 compatibility#3631
ajayraj30002 wants to merge 1 commit into
tensorflow:mainfrom
ajayraj30002:fix-keras3-save-format

Conversation

@ajayraj30002

@ajayraj30002 ajayraj30002 commented Jul 16, 2026

Copy link
Copy Markdown

Resolves a ValueError in the hello_world training script caused by the deprecation of the save_format='tf' argument in Keras 3.

Updated the script to use the native Keras 3 archive format (.keras) by removing the deprecated argument and ensuring the output file uses the correct extension.

Fixes #3623
BUG=#3623

@ajayraj30002
ajayraj30002 requested a review from a team as a code owner July 16, 2026 09:27
@google-cla

google-cla Bot commented Jul 16, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@ajayraj30002

Copy link
Copy Markdown
Author

@googlebot I signed it!

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.

fix: Model save format deprecated in Keras 3

1 participant