... | ... | @@ -10,7 +10,7 @@ Aim is a very powerful tool but at the same time is very simple to use. It defin |
|
|
### Session
|
|
|
Session class is the core of Aim. During the creation of a session, it is possible to define an experiment name and/or a run name: experiments are useful to group together runs related to the same model.
|
|
|
|
|
|
Inside this template, experiment and run names are handled by the [config file](https://gitlab.fbk.eu/dsip/templates/dl_setup/-/wikis/Configuration-file) and run script helper.
|
|
|
Inside this template, experiment and run names are handled by the [config file](Configuration-file) and run script helper.
|
|
|
```python
|
|
|
from aim import Session
|
|
|
|
... | ... | @@ -30,7 +30,7 @@ The red arrow points to a "filter by experiment", and the green arrow points to |
|
|
### set_params
|
|
|
It is a session method used to set hyper-parameters associated with the run.
|
|
|
|
|
|
Inside dl_setup, set_params is called automatically: all configs and hyper-paramters related to the run are saved. This approach allows to match a specific run (from [config file](https://gitlab.fbk.eu/dsip/templates/dl_setup/-/wikis/Configuration-file)) to related results (losses tracked from aim for example).
|
|
|
Inside dl_setup, set_params is called automatically: all configs and hyper-paramters related to the run are saved. This approach allows to match a specific run (from [config file](Configuration-file)) to related results (losses tracked from aim for example).
|
|
|
```python
|
|
|
aim_session.set_params(
|
|
|
{ 'lr': 0.01, 'optimizer': 'Adam', 'batch_size': 64 },
|
... | ... | |