切换到所在文件根目录,激活TensorFlow source activate tensorflow tensorboard --logdir=log_file log_file是日志文件所在路径,log文件夹下就是event