How to plot training log (for visualizing loss or accuracy)

In caffe/tools/extra there is plot_training_log.py.example

Here is some options to use

Usage:
 ./plot_log.sh chart_type[0-7] /where/to/save.png /path/to/first.log ...
Notes:
 1. Supporting multiple logs.
 2. Log file name must end with the lower-cased ".log".
Supported chart types:
 0: Test accuracy vs. Iters
 1: Test accuracy vs. Seconds
 2: Test loss vs. Iters
 3: Test loss vs. Seconds
 4: Train learning rate vs. Iters
 5: Train learning rate vs. Seconds
 6: Train loss vs. Iters
 7: Train loss vs. Seconds

Here is one example of Training loss vs Iters (option 6):

train-loss-vs-iter.png

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: