darknet/scripts/log_parser
Stefano Sinigardi 9a9fcdb111
minor code cleaning (#8844)
* minor cleanup
* vcpkg force internal tools to reduce cache misses
* move getopt to 3rdparty
* add a very small test on a couple of platform in CI
2023-09-27 02:04:56 +02:00
..
log_parser.py * make regex compatible with new code 2018-08-05 12:18:27 +08:00
readme.md minor code cleaning (#8844) 2023-09-27 02:04:56 +02:00
test_new.svg * make regex compatible with new code 2018-08-05 12:18:27 +08:00

readme.md

parsing training log and plot

Requirements

  1. matplotlib

Usage

  1. --source-dir the directory of training log files
  2. --save-dir the directory to save loss curve, image and csv file
  3. --log-file log file name to be parsed
  4. --csv-file csv file name to save loss data, default it's same with training log file name
  5. --show whether to show after finished parsing, default False, just works on windows or linux with GUI desktop

python log_parser.py --source-dir ./ --save-dir ./ --log-file test.log --show true

plot