2018-05-06 22:11:49 +08:00
|
|
|
#### parsing training log and plot
|
|
|
|
**Requirement**
|
|
|
|
1. ** matplotlib needed **
|
|
|
|
|
|
|
|
**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
|
|
|
|
|
|
|
|
`python log_parser.py --source-dir ./ --save-dir ./ --log-file test.log --show true`
|
|
|
|
|
2018-05-06 22:16:31 +08:00
|
|
|
![plot](https://github.com/Adesun/darknet/blob/log_parser/scripts/log_parser/plot.jpg)
|
2018-05-06 22:11:49 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|