Tensorboard installed and used on the server

demand:

Use Pytorch embedded tensorboard on ubunu16.0 server

installation

pip install tensorflow
pip install tensorboardX

If too slow can add a mirror image of Ali cloud

use

First run on the server

tensorboard --logdir=logs

Given the address of the server is denied access on the Google browser

The solution is to: establish ssh tunnel, to achieve local port forwarding to a remote port, the remote is listening port is tensorboard default port of 6006, in SecureCRT session Options -> port, add the target host and listening port, target port,

Then run the above command, enter in your browser: http: // localhost: 6006 will be able to visit the tensorboard,

Another way to solve that is to redirect the server to the local port, see the same specific reference 1, and visdom access previous methods

reference

 

  1. Use localhost access remote tensorboard

 

    2. Tensorboard use on the server

Guess you like

Origin www.cnblogs.com/yqpy/p/11407288.html