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

fix kerasmodel #13232

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

fix kerasmodel #13232

wants to merge 10 commits into from

Conversation

SangbumChoi
Copy link
Contributor

@SangbumChoi SangbumChoi commented Jul 31, 2024

Since there is some deprecation of keras model usage I updated the following logic

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhanced TensorFlow model export functionality.

πŸ“Š Key Changes

  • Introduced a new KerasModel class for model export.
  • Modified the export process to use KerasModel instead of directly calling tf_model.predict.
  • Changed the export format for Keras models to .h5 instead of TensorFlow's default format.

🎯 Purpose & Impact

  • Improved Usability: Simplifies the TensorFlow model export process by encapsulating configurations within a KerasModel class.
  • Consistency: Ensures the exported Keras models are saved in a more universally accessible .h5 format.
  • Flexibility: Facilitates better management of model configurations and predictions, making the codebase more modular and user-friendly.

@UltralyticsAssistant UltralyticsAssistant added enhancement New feature or request python labels Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants