Skip to content

Commit

Permalink
[docs][tune] Fix Tune tutorial (#34660)
Browse files Browse the repository at this point in the history
One line fix for bug introduced in #34435

Signed-off-by: Kai Fricke <[email protected]>
  • Loading branch information
krfricke committed Apr 21, 2023
1 parent 4d7e999 commit 5c7520f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ray/tune/tests/tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def train_mnist(config):
acc = test(model, test_loader)

# Send the current training result back to Tune
session.report(mean_accuracy=acc)
session.report({"mean_accuracy": acc})

if i % 5 == 0:
# This saves the model to the trial directory
Expand Down

0 comments on commit 5c7520f

Please sign in to comment.