|
|
|
@@ -41,9 +41,9 @@ def get_summary_lineage(summary_dir, keys=None): |
|
|
|
summary_dir (str): The summary directory. It contains summary logs for |
|
|
|
one training. |
|
|
|
keys (list[str]): The filter keys of lineage information. The acceptable |
|
|
|
keys are `metric`, `hyper_parameters`, `algorithm`, `train_dataset`, |
|
|
|
`model`, `valid_dataset` and `dataset_graph`. If it is `None`, all |
|
|
|
information will be returned. Default: None. |
|
|
|
keys are `metric`, `user_defined`, `hyper_parameters`, `algorithm`, |
|
|
|
`train_dataset`, `model`, `valid_dataset` and `dataset_graph`. |
|
|
|
If it is `None`, all information will be returned. Default: None. |
|
|
|
|
|
|
|
Returns: |
|
|
|
dict, the lineage information for one training. |
|
|
|
@@ -112,10 +112,12 @@ def filter_summary_lineage(summary_base_dir, search_condition=None): |
|
|
|
directories generated by training. |
|
|
|
search_condition (dict): The search condition. When filtering and |
|
|
|
sorting, in addition to the following supported fields, fields |
|
|
|
prefixed with `metric/` are also supported. The fields prefixed with |
|
|
|
`metric/` are related to the `metrics` parameter in the training |
|
|
|
script. For example, if the key of `metrics` parameter is |
|
|
|
`accuracy`, the field should be `metric/accuracy`. Default: None. |
|
|
|
prefixed with `metric/` and `user_defined/` are also supported. |
|
|
|
For example, the field should be `metric/accuracy` if the key |
|
|
|
of `metrics` parameter is `accuracy`. The fields prefixed with |
|
|
|
`metric/` and `user_defined/` are related to the `metrics` |
|
|
|
parameter in the training script and user defined information in |
|
|
|
TrainLineage/EvalLineage callback, respectively. Default: None. |
|
|
|
|
|
|
|
- summary_dir (dict): The filter condition of summary directory. |
|
|
|
|
|
|
|
|