Change the color of the curve drawn by tensorboard and view the tensorboard curve according to the event file!

The terminal has been opened in the current path! ! !

(1) Open in the specified folder, hold down shift -> right click, and open the powershell window here! !

(2) Or use the following method to open:

Note: The "./" above is double quotation marks, single quotation marks are nothing, wipe, a pit! !

The understanding of the smoothing parameter: do corresponding smoothing to the curve! ! !

  • smoothing=0: represents the most original curve, without smoothing;
  • smoothing=? : Represents the corresponding smoothing of the curve.

As shown below: the most original line chart

 

Tensorboard itself cannot modify the color of the display curve according to its own wishes. However, I found that I can download and modify the SVG file and change the color according to my wishes.

1. 勾选 Show data download links.

2. Dowload Current Chart as SVG, the file is opened with a text editor, here I use notepad++.

3. Modify the color of the tensorboard curve

Drawing tool under windows, find the RGB value of the color you want.

 The nearest (R, G, B) to the curve data is the color of the curve, as shown in the figure below.

 There is also a shadow line. I have two lines of the same blue color, which are messy. They correspond to four RGB=(0,119,187) values. It is unclear which one is lighter. I replaced them one by one. , The replacement color is (87,231,0) green.

Reference: https://blog.csdn.net/m0_37030242/article/details/108644391 , the pro-test is valid.

Guess you like

Origin blog.csdn.net/MasterCayman/article/details/111463544