Valid metric names
Metric names must follow these rules:- Allowed characters: Letters (
A-Z,a-z), digits (0-9), and underscores (_). - Starting character: Names must start with a letter or underscore.
- Pattern: Metric names should match
/^[_a-zA-Z][_a-zA-Z0-9]*$/.
Examples
The following examples show metric names that comply with these rules and names that don’t. Valid metric names:Recommended solution
Replace invalid characters with valid characters such as underscores:- Instead of
"test acc", use"test_acc". - Instead of
"loss-train", use"loss_train". - Instead of
"acc,val", use"acc_val".
Experiments Metrics