Skip to content

Commit 1830f17

Browse files
authored
Add temporary fix for embeddings bug
1 parent 0bee138 commit 1830f17

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

beginner_source/introyt/tensorboardyt_tutorial.py

+7
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@
6464
# PyTorch TensorBoard support
6565
from torch.utils.tensorboard import SummaryWriter
6666

67+
# In case you are using an environment that has TensorFlow installed,
68+
# such as Google Colab, uncomment the following code to avoid
69+
# a bug with saving embeddings to your tensorboard directory
70+
71+
# import tensorflow as tf
72+
# import tensorboard as tb
73+
# tf.io.gfile = tb.compat.tensorflow_stub.io.gfile
6774

6875
######################################################################
6976
# Showing Images in TensorBoard

0 commit comments

Comments
 (0)