Skip to content

Commit

Permalink
chore: update submodules (#211)
Browse files Browse the repository at this point in the history
Co-authored-by: ydcjeff <32727188+ydcjeff@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and ydcjeff authored Oct 4, 2024
1 parent 2d5485a commit 0a6e21a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/tutorials/beginner/01-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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},
)
Expand Down Expand Up @@ -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},
)
Expand Down
2 changes: 1 addition & 1 deletion static/examples

0 comments on commit 0a6e21a

Please sign in to comment.