Skip to content

Update AutoShape.forward() model.classes example#5324

Merged
glenn-jocher merged 1 commit intomasterfrom
update/example
Oct 25, 2021
Merged

Update AutoShape.forward() model.classes example#5324
glenn-jocher merged 1 commit intomasterfrom
update/example

Conversation

@glenn-jocher
Copy link
Copy Markdown
Member

@glenn-jocher glenn-jocher commented Oct 25, 2021

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Improves documentation for class filtering in model wrapper.

📊 Key Changes

  • Enhanced code comment for the classes variable in AutoShape class to clarify its purpose.

🎯 Purpose & Impact

  • 📝 Provides clearer guidelines for developers and users on how to filter detections by specific categories (like persons, cats, and dogs in the COCO dataset).
  • 🤖 Helps to avoid confusion when using the model for inference, leading to a better user experience.

@glenn-jocher
Copy link
Copy Markdown
Member Author

/rebase

@glenn-jocher glenn-jocher merged commit 9c31a66 into master Oct 25, 2021
@glenn-jocher glenn-jocher deleted the update/example branch October 25, 2021 12:03
@glenn-jocher glenn-jocher self-assigned this Oct 25, 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