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

Allow list for Comet artifact class 'names' field #9654

Merged
merged 4 commits into from
Oct 2, 2022

Conversation

KristenKehrer
Copy link
Contributor

@KristenKehrer KristenKehrer commented Sep 29, 2022

In the Comet logger, when I run train.py, it wants to download the data artifact. It was requiring me to format the 'names' field in the data artifact metadata as a dictionary, so I've changed this so that it also accepts a list.

Signed-off-by: KristenKehrer 34010022+KristenKehrer@users.noreply.github.com

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Enhanced dataset artifact names handling in Comet Logger for YOLOv5.

📊 Key Changes

  • Added support for names field as both dictionary and list in dataset metadata.
  • Introduced a check to raise an error if names field is in an invalid format.

🎯 Purpose & Impact

  • 🎨 The update provides flexibility, allowing names to be defined as either a list or a dictionary, making it easier to work with various dataset formats.
  • 🚨 Raising an error for incorrect names format increases reliability, ensuring users are aware of configuration issues promptly.
  • 🛠️ This leads to improved user experience by minimizing potential issues related to dataset metadata handling.

KristenKehrer and others added 2 commits September 29, 2022 16:47
In the Comet logger, when I run train.py, it wants to download the data artifact. It was requiring me to format the 'names' field in the data artifact metadata as a dictionary, so I've changed this so that it also accepts a list.

Signed-off-by: KristenKehrer <34010022+KristenKehrer@users.noreply.github.com>
KristenKehrer and others added 2 commits September 30, 2022 07:54
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com>
Signed-off-by: KristenKehrer <34010022+KristenKehrer@users.noreply.github.com>
@glenn-jocher glenn-jocher merged commit c98128f into ultralytics:master Oct 2, 2022
@glenn-jocher
Copy link
Member

@KristenKehrer @DN6 PR is merged. Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐

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.

None yet

3 participants