Skip to main content
App version: 3.4.5

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

NameTypeDefaultDescription
dataDict[str, Union[float, bool, int, str, datetime, list, set, tuple]], optionalNoneDictionary 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,
},
)