The tensor visualizer "Tensor" does not work under Anaconda

I am currently using shadoworflow and I want to visualize the effect of the convolutional neural network that I am writing. However, I cannot use the tensogram. I see a tensogram under my env escort as envs / tensorenv / bin / tensorboard (python file). He imports this thing called tensorflow.tensorboard.tensorboard, which she cannot find.

(tensorenv)wifi-131-179-39-186:TensorflowTutorial hongshuhong$ tensorboard --logdir=log/
Traceback (most recent call last):
  File "/Users/hongshuhong/anaconda/envs/tensorenv/bin/tensorboard", line 4, in <module>
    import tensorflow.tensorboard.tensorboard
ImportError: No module named 'tensorflow.tensorboard.tensorboard'
  • I tried looking for the tensor stream .tensorboard.tensorboard, but I do not see it anywhere in my directories.
  • I am using the tensorflow Mac OSX distribution under anaconda, using python 3.5.1 and using anaconda packages.
  • I am using ipython for the code for escorts.

Any help would be greatly appreciated. Let me know if more information is needed, thanks.

+4
3

@ , github: https://github.com/tensorflow/tensorflow/issues/1790 anaconda , - "backend". python script, :

python ~/anaconda/envs/tensorenv/lib/python3.5/site-packages/tensorflow/tensorboard/backend/tensorboard.py

: enter image description here

, .

EDIT: , , tensorboard.py .

..../site-packages/tensorflow/tensorboard/backend/tensorboard.py 

..../site-packages/tensorflow/tensorboard/tensorboard.py. 

, , , scalar_summary. , , !

+2

,

python /Users/USERNAME/anaconda/envs/tf/lib/python3.5/site-packages/tensorboard/main.py --logdir=./logs/

tensorboard.py main.py

+4

conda, , .

Anaconda conda , tensorboard:

Traceback (most recent call last):
  File "/Users/.../anaconda/envs/mlbook/bin/tensorboard", line 4, in <module>
    import tensorflow.tensorboard.tensorboard
ImportError: No module named 'tensorflow.tensorboard'

, tensorboard.py.

:

(mlbook) ... anaconda $ conda update tensorflow
Fetching package metadata .........
Solving package specifications: .

Package plan for installation in environment /Users/W.Zhan/anaconda/envs/mlbook:

The following packages will be SUPERSEDED by a higher-priority channel:

    tensorflow: 1.4.0-py35_0 conda-forge --> 1.1.0-np112py35_0

Proceed ([y]/n)? y

, tensorboard , .

0
source

All Articles