kd.from_xid.get_cfg

kd.from_xid.get_cfg#

kauldron.utils.from_xid.get_cfg(
xid: int,
wid: int = 1,
*,
lazy: bool = True,
) kd.train.Trainer[source]

Returns the config/sub-config from an xmanager experiment.

Usage:

cfg = kd.from_xid.get_cfg(12345)
Parameters:
  • xid – The XID of the experiment to load the config from.

  • wid – ID of the worker to load the config from. Defaults to 1.

  • lazy – When False, importing the config will also trigger the imports of all defined symbols.

Returns:

The restored konfig.ConfigDict.