I ran an open source code. After running it, I saw that the format file events.out.thevents.xxx appeared in the generated folder. I was curious and did some study~
First, explain the function of the file: visualization file for tensorboard display
Instructions
First, you need to install tensorboard. The installation command is as follows:
pip install tensorboard
After successful installation, enter in the terminal in the following format:
tensorboard --logdir=日志文件夹 --port=8008
ps: This log folder can be written to the level above the events file.
For example: tensorboard --logdir=D:\Desktop\UnityPPO-master\runs\Sep11_17-13-31_PC-20221020CGDT-3DBall_PPO --port=8008
It is said on the Internet that it can be run directly under the terminal of pyCharm, but when I ran it, an error was reported:
There were some explanations for this error in the evening, but it is more troublesome to solve. The simple way is to change cmd to execute :
the URL of localhost appeared. , then just open the browser and look at the URL:
it will be displayed based on the content of your code.
Reference: https://blog.csdn.net/ligous/article/details/126577077