第一步训练完毕:
有log出现:
第二步:确认路径:
C:\Users*>cd C:\Users*\余老师–pytorch\data\chap4
C:\Users***\余老师–pytorch\data\chap4>tensorboard --logdir “log”
2020-12-18 09:59:50.954838: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_100.dll
Serving TensorBoard on localhost; to expose to the network, use a proxy or pass --bind_all
TensorBoard 2.0.2 at http://localhost:6006/ (Press CTRL+C to quit)
或者是直接把路径一起输入进去:
C:\Users*>tensorboard --logdir "C:\Users*\余老师–pytorch\data\chap4\log"
2020-12-18 10:12:47.040518: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_100.dll
Serving TensorBoard on localhost; to expose to the network, use a proxy or pass --bind_all
TensorBoard 2.0.2 at http://localhost:6006/ (Press CTRL+C to quit)
第三部:
在网页中打开 http://localhost:6006/