Skip to content

Commit

Permalink
Fix TensorBoard projector plugin reading tensor file in python 3. (te…
Browse files Browse the repository at this point in the history
  • Loading branch information
Vit Stepanovs authored and benoitsteiner committed Jan 27, 2017
1 parent 727c64a commit 78f6fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/tensorboard/plugins/projector/plugin.py
Expand Up @@ -58,7 +58,7 @@ def _read_tensor_file(fpath):
tensor = []
for line in f:
if line:
tensor.append(map(float, line.rstrip('\n').split('\t')))
tensor.append(list(map(float, line.rstrip('\n').split('\t'))))
return np.array(tensor, dtype='float32')


Expand Down

0 comments on commit 78f6fbe

Please sign in to comment.