simpcat.log()
simpcat.log( data: dict[str, Any], step: int | None = None, commit: bool | None = None) -> NoneLog metrics to the active run. Matches wandb.log().
Parameters
Section titled “Parameters”data— Dict of metric names to values (scalars, Audio, Image, or lists of media).step— Explicit step. If None, uses the auto-incrementing counter.commit— Controls when metrics are flushed. None (default) means True when step is None, False when step is provided. True flushes all buffered and current metrics and advances the step counter. False buffers scalars until the next commit=True call.
Raises
Section titled “Raises”RuntimeError— If no run is active (call simpcat.init() first).