log_configs()
Logs the specified metadata to a Neptune run.
You can log configurations or other single values. Pass the metadata as a dictionary {key: value}
with:
key
: path to where the metadata should be stored in the run.value
: the piece of metadata to log.
For example, {"parameters/learning_rate": 0.001}
. In the attribute path, each forward slash /
nests the attribute under a namespace. Use namespaces to structure the metadata into meaningful categories.
Parameters
Name | Type | Default | Description |
---|---|---|---|
data | Dict[str, Union[float, bool, int, str, datetime, list, set, tuple]] , optional | None | Dictionary of configs or other values to log. |
Example
Create a run and log metadata:
from neptune_scale import Run
with Run(...) as run:
run.log_configs(
data={
"parameters/learning_rate": 0.001,
"parameters/batch_size": 64,
},
)