Skip to content

mkit.utils.live

Live

enable class-attribute instance-attribute

enable: bool = enable

records instance-attribute

records: dict[int, dict[str, Any]] = defaultdict(dict)

step property writable

step: int

__enter__

__enter__() -> Self

__exit__

__exit__(exc_type, exc_val, exc_tb) -> None

__init__

__init__(
    *,
    cache_images: bool = False,
    dir: str = "dvclive",
    dvcyaml: str | None = "dvc.yaml",
    enable: bool = True,
    exp_message: str | None = None,
    exp_name: str | None = None,
    monitor_system: bool = False,
    report: Literal["md", "notebook", "html", None] = None,
    resume: bool = False,
    save_dvc_exp: bool = True
) -> None

end

end() -> None

log_array

log_array(name: str, array: ArrayLike) -> None

log_metric

log_metric(
    name: str,
    val: Any,
    *,
    timestamp: bool = False,
    plot: bool = True
) -> None

next_step

next_step(*, milestone: bool = True) -> None