Skip to content

Conversation

@glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Mar 29, 2022

Automatically names run as --cfg argument, i.e. python train.py --name cfg

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Automatic renaming feature added to training script when evolving models.

📊 Key Changes

  • A new conditional block has been added that automatically sets the name of the experiment to the stem of the configuration file, provided that the user has specified 'cfg' as the name.

🎯 Purpose & Impact

  • 🎯 Purpose: To streamline the process of model evolution by reducing the need for manual naming of each experiment, ensuring that each evolved model has a unique and meaningful name based on its configuration file.
  • 💥 Impact: Users evolving models will find their output directories more organized and easier to navigate, with a lower risk of overwriting previous experiments due to naming collisions. It can also aid in the recognition of which model configuration was used just by looking at the name.

Automatically names run as --cfg argument
@glenn-jocher glenn-jocher self-assigned this Mar 29, 2022
@glenn-jocher glenn-jocher merged commit df9008e into master Mar 31, 2022
@glenn-jocher glenn-jocher deleted the update/train branch March 31, 2022 11:17
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
Automatically names run as --cfg argument
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.

2 participants