Skip to content

Update metrics_args documentation#663

Merged
guarin merged 4 commits intomainfrom
guarin-trn-1841-document-metric_args-in-train_settingsmd
Mar 24, 2026
Merged

Update metrics_args documentation#663
guarin merged 4 commits intomainfrom
guarin-trn-1841-document-metric_args-in-train_settingsmd

Conversation

@guarin
Copy link
Copy Markdown
Contributor

@guarin guarin commented Mar 24, 2026

What has changed and why?

  • Update metrics_args documentation

How has it been tested?

Did you update CHANGELOG.md?

  • Yes
  • Not needed (internal change)

Did you update the documentation?

  • Yes
  • Not needed (internal change without effects for user)

Copilot AI review requested due to automatic review settings March 24, 2026 09:45
@guarin
Copy link
Copy Markdown
Contributor Author

guarin commented Mar 24, 2026

/review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the LightlyTrain training settings documentation to better explain how metric_args controls metric computation/logging, with a focus on image-classification examples and discoverability via train.log.

Changes:

  • Adds an example of the default (classification) metric_args configuration as shown in train.log, plus guidance on customizing it.
  • Adds examples for configuring accuracy.topk and disabling a metric by setting it to None.
  • Moves/expands the train subsection and clarifies references to train.log for available metrics.

Comment thread docs/source/settings/train_settings.md Outdated
Comment thread docs/source/settings/train_settings.md
Comment thread docs/source/settings/train_settings.md
guarin added 2 commits March 24, 2026 09:57
@guarin guarin enabled auto-merge (squash) March 24, 2026 09:58
@guarin guarin merged commit b79752d into main Mar 24, 2026
16 checks passed
@guarin guarin deleted the guarin-trn-1841-document-metric_args-in-train_settingsmd branch March 24, 2026 10:14
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.

3 participants