From 80f7cf7b1968f7528d618de61cd0979bc4bcfc07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8B=E3=81=84=E3=81=99?= Date: Wed, 31 Oct 2018 11:36:22 +0900 Subject: [PATCH] Update 20newsgroup.py --- visualization_example/20newsgroup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 :)