unbutun TensorBoard logging requires TensorBoard with Python summary writer installed.

#from torch.utils.tensorboard import SummaryWriter

tensorflow已经安装了,顺带说一句安装tensorflow后好像自动会有自适应的匹配版本的tensorflow-tensorboard,好像不用管tensorboard了。。
unbutun TensorBoard logging requires TensorBoard with Python summary writer installed._第1张图片
但是他还是报错,所以改了一下:

from tensorboardX import SummaryWriter

就行了,没安装tensorboardx的安装一下,注意大小写:

pip install tensorboardx

你可能感兴趣的:(python,linux,python,tensorflow,深度学习)