AutoDL to view the tensorboard curve in real time (combined with official documents)

reference link

1. After starting the instance, find the AutoPanel access entry

2. Switch the logs directory

1. First end the TensorBoard process started by default, and execute the command:

ps -ef | grep tensorboard | awk '{print $2}' | xargs kill -9

2. Execute the following command in the terminal to start TensorBoard

(What I am here /root/autodl-nas/yoloair/runs/train/exp8is that I switched to an absolute path of the log myself, and did not copy the events file to /root/tf-logs/the directory as explained in the official website)

insert image description here

Here I want to say more, you must first use the above code killto kill the process that occupies the port, and then in the following code, you must also specify that port 6007 is used! ie --port 6007. Otherwise it will fail. Because sometimes I just don't specify the 6007 port, so I can't open the tensorboard in AutoPanel.

tensorboard --port 6007 --logdir /root/autodl-nas/yoloair/runs/train/exp8

insert image description here

3. Re-access TensorBoard in AutoPanel after startup

(Just refresh this page)

insert image description here

Guess you like

Origin blog.csdn.net/LWD19981223/article/details/127558739