Search code examples
devopsmlopsclearmltrains

ClearML How to get configurable hyperparameters?


How do I get args like epochs to show up in the UI configuration panel under hyperparameters? I want to be able to change number of epochs and learning rate from within the UI.


Solution

  • You can use argparse - ClearML will auto-magically log all parameters in the task's configuration section (under hyper-parameters section) - see this example. You can also just connect any dictionary (see this example)