From 1830f17e3b895f1d1186b6562623e60d549efa41 Mon Sep 17 00:00:00 2001 From: Qasim Khan Date: Thu, 1 Jun 2023 20:40:00 +0500 Subject: [PATCH 1/2] Add temporary fix for embeddings bug --- beginner_source/introyt/tensorboardyt_tutorial.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/beginner_source/introyt/tensorboardyt_tutorial.py b/beginner_source/introyt/tensorboardyt_tutorial.py index 4c7c356fd0c..de1f9a3147a 100644 --- a/beginner_source/introyt/tensorboardyt_tutorial.py +++ b/beginner_source/introyt/tensorboardyt_tutorial.py @@ -64,6 +64,13 @@ # PyTorch TensorBoard support from torch.utils.tensorboard import SummaryWriter +# In case you are using an environment that has TensorFlow installed, +# such as Google Colab, uncomment the following code to avoid +# a bug with saving embeddings to your tensorboard directory + +# import tensorflow as tf +# import tensorboard as tb +# tf.io.gfile = tb.compat.tensorflow_stub.io.gfile ###################################################################### # Showing Images in TensorBoard From 8dbc6321ef6b502d1f9e344bf484a27aa6e2220d Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Thu, 1 Jun 2023 11:41:05 -0700 Subject: [PATCH 2/2] Update beginner_source/introyt/tensorboardyt_tutorial.py --- beginner_source/introyt/tensorboardyt_tutorial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beginner_source/introyt/tensorboardyt_tutorial.py b/beginner_source/introyt/tensorboardyt_tutorial.py index de1f9a3147a..29e83066726 100644 --- a/beginner_source/introyt/tensorboardyt_tutorial.py +++ b/beginner_source/introyt/tensorboardyt_tutorial.py @@ -66,7 +66,7 @@ # In case you are using an environment that has TensorFlow installed, # such as Google Colab, uncomment the following code to avoid -# a bug with saving embeddings to your tensorboard directory +# a bug with saving embeddings to your TensorBoard directory # import tensorflow as tf # import tensorboard as tb