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

Add TF and TFLite models to .dockerignore #4748

Merged
merged 1 commit into from
Sep 10, 2021
Merged

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Sep 10, 2021

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhanced .dockerignore to support additional machine learning model formats.

πŸ“Š Key Changes

  • Added ignore rules for TensorFlow Lite models (*.tflite).
  • Added ignore lines for Keras model files (*.h5).
  • Included TensorFlow saved model directories (*_saved_model/) in the ignore list.
  • Incorporated ignore patterns for TensorFlow protobuf files (*.pb).

🎯 Purpose & Impact

  • Purpose: Streamline Docker builds by excluding unnecessary files, which can help reduce context size and consequently the build time and size of the images.
  • Impact: Users working with TensorFlow and Keras models will benefit from cleaner Docker builds, leading to faster deployment and potentially lower resource usage.

@glenn-jocher glenn-jocher self-assigned this Sep 10, 2021
@glenn-jocher glenn-jocher merged commit ff35292 into master Sep 10, 2021
@glenn-jocher glenn-jocher deleted the update/dockerignore branch September 10, 2021 15:52
CesarBazanAV pushed a commit to CesarBazanAV/yolov5 that referenced this pull request Sep 29, 2021
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
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