未验证 提交 46d627cf 编写于 作者: N Nicky Chan 提交者: GitHub

Use correct path when importing tsne (#479)

上级 9b3c2c72
......@@ -310,7 +310,7 @@ def get_embeddings(storage, mode, reduction, dimension=2, num_records=5000):
high_dimensional_vectors = np.array(embedding.get_all_embeddings())
if reduction == 'tsne':
import tsne
import visualdl.server.tsne as tsne
low_dim_embs = tsne.tsne(
high_dimensional_vectors,
dimension,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册