Signals that the current experiment has ended.
Live.end() gets automatically called when exiting the context manager:
from dvclive import Live with Live() as live: pass # live.end() has been called at this point
It is also called when the training ends for each of the supported ML Frameworks
from dvclive.keras import DVCLiveCallback ... model.fit( train_dataset, epochs=num_epochs, validation_data=validation_dataset, callbacks=[DVCLiveCallback()]) # live.end() has been called at this point
Live.end() will call
save_dvc_exp=True has been passed to
Live, it will
save a new DVC experiment and
dvc.yaml file configuring what DVC will show for logged plots,
metrics, and parameters.