From 68ce45975608dc38acc992a8a8eb7198954519e7 Mon Sep 17 00:00:00 2001 From: sp Date: Sat, 30 Dec 2023 12:27:17 +0100 Subject: [PATCH] fixed typo --- examples/shields/rl/callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/shields/rl/callbacks.py b/examples/shields/rl/callbacks.py index ac4370d..21a583d 100644 --- a/examples/shields/rl/callbacks.py +++ b/examples/shields/rl/callbacks.py @@ -28,7 +28,7 @@ class ShieldInfoCallback(DefaultCallbacks): class MyCallbacks(DefaultCallbacks): def on_algorithm_init(self, algorithm: Algorithm, **kwargs): - file_writer = tf.summary.create_file_writer(algorithm.log_dir) + file_writer = tf.summary.create_file_writer(algorithm.logdir) with file_writer.as_default(): tf.summary.text("first_text", "testing", step=0)