Edit on GitHub

dvclive.get_step()

Returns the current step value.

def get_step() -> int:

Usage:

import dvclive

while dvclive.get_step() < 3:
    dvclive.log("metric", 0.9)
    dvclive.next_step()

Description

DVCLive uses the step to track the progress of each metric logged with dvclive.log().

Each call to dvclive.next_step() increases the step count.

Content

๐Ÿ› Found an issue? Let us know! Or fix it:

Edit on GitHub

โ“ Have a question? Join our chat, we will help you:

Discord Chat