diff --git a/visualization_example/20newsgroup.py b/visualization_example/20newsgroup.py index ac02d3d2..fb12646e 100644 --- a/visualization_example/20newsgroup.py +++ b/visualization_example/20newsgroup.py @@ -1,7 +1,7 @@ import pandas as pd import tensorflow as tf import numpy as np -from tensorflow.contrib.tensorboard.plugins import projector +from tensorboard.plugins import projector import os LOG_DIR = 'log' @@ -80,4 +80,4 @@ def text_to_graph(text): projector.visualize_embeddings(tf.summary.FileWriter(LOG_DIR), config) -# type "tensorboard --logdir=log" in CMD and have fun :) \ No newline at end of file +# type "tensorboard --logdir=log" in CMD and have fun :)