2023-09-27 08:04:56 +08:00
|
|
|
# parsing training log and plot
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
1. matplotlib
|
|
|
|
|
|
|
|
## Usage
|
2018-05-06 22:11:49 +08:00
|
|
|
|
|
|
|
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
|
2018-08-05 12:18:27 +08:00
|
|
|
5. --show whether to show after finished parsing, default False, just works on windows or linux with GUI desktop
|
2018-05-06 22:11:49 +08:00
|
|
|
|
|
|
|
`python log_parser.py --source-dir ./ --save-dir ./ --log-file test.log --show true`
|
|
|
|
|
2023-09-27 08:04:56 +08:00
|
|
|
![plot](https://github.com/AlexeyAB/darknet/blob/master/scripts/log_parser/test_new.svg)
|