Caffe drawing loss and accurary curves

Source: Internet
Author: User

Files to be used in caffe/tools/extar/plot_training_log.py.example

You also need to use the caffe/tools/extarparse_log.sh and caffe/tools/extarextract_seconds.py files (if you do not remember to copy them in the current directory)

Execute command python plot_training_log.py 0 save.png My.Log

0 is to draw that kind of diagram, have the test, the training accurary and so on

Save.png is the Save image path

My.Log is the Caffe output log and must end with. log

Need to note:

1. In the file extarextract_seconds.py 56th line of code elapsed_seconds = (dt-start_datetime). Total_seconds (),

There is no total_seconds attribute under python2.6, I change this sentence to elapsed_seconds=1000

2. If the data is more than the case, set use_marker = False

3. Comment out matplotlib.markers #import matplotlib.markers as MKS under the same python2.6

Caffe drawing loss and accurary curves

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.