From 0a6e21a43e364509e7c52ebccda2255359067f7b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 4 Oct 2024 22:37:08 +0200 Subject: [PATCH] chore: update submodules (#211) Co-authored-by: ydcjeff <32727188+ydcjeff@users.noreply.github.com> --- src/tutorials/beginner/01-getting-started.md | 4 ++-- static/examples | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tutorials/beginner/01-getting-started.md b/src/tutorials/beginner/01-getting-started.md index 994b7273..5d3f090f 100644 --- a/src/tutorials/beginner/01-getting-started.md +++ b/src/tutorials/beginner/01-getting-started.md @@ -264,7 +264,7 @@ tb_logger = TensorboardLogger(log_dir="tb-logger") # Attach handler to plot trainer's loss every 100 iterations tb_logger.attach_output_handler( trainer, - event_name=Events.ITERATION_COMPLETED(every=100), + event_name=Events.ITERATION_COMPLETED(every=log_interval), tag="training", output_transform=lambda loss: {"batch_loss": loss}, ) @@ -466,7 +466,7 @@ tb_logger = TensorboardLogger(log_dir="tb-logger") tb_logger.attach_output_handler( trainer, - event_name=Events.ITERATION_COMPLETED(every=100), + event_name=Events.ITERATION_COMPLETED(every=log_interval), tag="training", output_transform=lambda loss: {"batch_loss": loss}, ) diff --git a/static/examples b/static/examples index b975326a..3cde534f 160000 --- a/static/examples +++ b/static/examples @@ -1 +1 @@ -Subproject commit b975326ac65885d9f6d93b007da742305f570267 +Subproject commit 3cde534fdff10d9ae5dd90799301d9d0a6c07868