SoFunction
Updated on 2024-11-12

Tensorboard visualization issues under Win7 vs. Win10

Tensorboard Visualization for Win7 and Win10

After Tensorflow has trained the model, the Tensorboard shows so simple

When you start using tensorflow, you always want to use tensorboard to visualize the network structure and loss curves, the official tutorials and Baidu's blogs are not effective, confused, after their own fumbling, in fact, so simple.

speak as if from a picture

1. First open Terminal

If you have pycharm installed, activate the tensorflow environment by opening it directly at the console.

2. If not, open cmd

Activate your Tensorflow environment:

3. then cd all the way

To you save.1512111714.*-PC's directory, mine is under B:\Softs\deeplearningcodes\seismic-data-process\AutoEncoder_Denoise\model\train.

4. The following operation is basically the same

I'll just use the instructions under cmd and go to the storage directory to see the full list of EVENTS:

5. Type "tenboard -logdir=." After

Terminal will output "Starting TensorBoard b'47' at http://0.0.0.0:6006", copy this URL to your browser, usually it won't be normally it won't work.

As pictured:

6. This is a critical step

You need to change the URL, open your computer --> properties, check your computer name, assuming that kevin_pc:.

7. Final step

After changing the above URL "http://0.0.0.0:6006" to "http://kevin_pc:6006", you can open tensorboard in your browser, done. Isn't it very easy?

summarize

It's been torturing me for a long time to visualize the display, the official instructions occasionally make it happen, and the weblogs just don't make it clear!

The above is a personal experience, I hope it can give you a reference, and I hope you can support me more.