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

TF.js fix #9536

Merged
merged 5 commits into from
Sep 21, 2022
Merged

TF.js fix #9536

merged 5 commits into from
Sep 21, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Sep 21, 2022

May resolve #9534

Signed-off-by: Glenn Jocher glenn.jocher@ultralytics.com

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Updated TensorFlow model output in the YOLOv5 repository.

πŸ“Š Key Changes

  • Altered the return value of a function in tf.py from a tuple with two elements to a single-element tuple.

🎯 Purpose & Impact

  • 🎯 Purpose: This modification streamlines the output by eliminating an unnecessary second element, making the function's return value more consistent with its expected usage.
  • πŸ’₯ Impact: Users utilizing the TensorFlow code in their machine learning pipelines may notice this simplification, which might require minimal adjustments in how they handle the function's output. Overall, this should lead to cleaner and more maintainable code.

May resolve #9534

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher glenn-jocher self-assigned this Sep 21, 2022
pre-commit-ci bot and others added 3 commits September 21, 2022 22:02
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher
Copy link
Member Author

Detection and Segementation model exports to TF.js both verified working with this PR.

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher glenn-jocher merged commit 489920a into master Sep 21, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch September 21, 2022 22:34
@glenn-jocher glenn-jocher mentioned this pull request Sep 21, 2022
2 tasks
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.

TF.js export bug
1 participant