mirror of
https://github.com/clearml/clearml-docs
synced 2025-01-31 14:37:18 +00:00
Add configuration sentence to FAQ (#335)
This commit is contained in:
parent
f2277de827
commit
125d5b62df
@ -283,10 +283,12 @@ to reproduce. You can see uncommitted changes in the ClearML Web UI, in the EXEC
|
|||||||
|
|
||||||
**I do not use argparse for hyperparameters. Do you have a solution?** <a id="dont-want-argparser"></a>
|
**I do not use argparse for hyperparameters. Do you have a solution?** <a id="dont-want-argparser"></a>
|
||||||
|
|
||||||
Yes! ClearML also automatically captures and tracks command line parameters created using [click](https://click.palletsprojects.com/),
|
Yes! ClearML provides multiple ways to configure your task and track your parameters!
|
||||||
|
|
||||||
|
In addition to argparse, ClearML also automatically captures and tracks command line parameters created using [click](https://click.palletsprojects.com/),
|
||||||
[Python Fire](https://github.com/google/python-fire), and/or [LightningCLI](https://pytorch-lightning.readthedocs.io/en/stable/api/pytorch_lightning.utilities.cli.html).
|
[Python Fire](https://github.com/google/python-fire), and/or [LightningCLI](https://pytorch-lightning.readthedocs.io/en/stable/api/pytorch_lightning.utilities.cli.html).
|
||||||
|
|
||||||
Additionally, ClearML supports connecting hyperparameter dictionaries to experiments, using the [Task.connect](references/sdk/task.md#connect) method.
|
ClearML also supports tracking code-level configuration dictionaries using the [Task.connect](references/sdk/task.md#connect) method.
|
||||||
|
|
||||||
For example, the code below connects hyperparameters (`learning_rate`, `batch_size`, `display_step`,
|
For example, the code below connects hyperparameters (`learning_rate`, `batch_size`, `display_step`,
|
||||||
`model_path`, `n_hidden_1`, and `n_hidden_2`) to a task:
|
`model_path`, `n_hidden_1`, and `n_hidden_2`) to a task:
|
||||||
@ -300,7 +302,7 @@ parameters_dict = { 'learning_rate': 0.001, 'batch_size': 100, 'display_step': 1
|
|||||||
parameters_dict = Task.current_task().connect(parameters_dict)
|
parameters_dict = Task.current_task().connect(parameters_dict)
|
||||||
```
|
```
|
||||||
|
|
||||||
See more information about logging of hyperparameters [here](fundamentals/hyperparameters.md).
|
See more task configuration options [here](fundamentals/hyperparameters.md).
|
||||||
|
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
Loading…
Reference in New Issue
Block a user