Skip to content

Commit

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

Signed-off-by: Kai Fricke <[email protected]>
Signed-off-by: elliottower <[email protected]>
  • Loading branch information
krfricke authored and elliottower committed Apr 22, 2023
1 parent 3bb1993 commit 4f94951
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 4f94951

Please sign in to comment.