Skip to content

it's for drawing&calculate P-R curve/LOSS curve/AP/mAP and store data as .mat for further use

Notifications You must be signed in to change notification settings

kevinlaulk/VOCcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VOCcode

it's for drawing&calculate P-R curve/LOSS curve/AP/mAP and store data as .mat for further use
please clone the reposity in your model folders

# Make sure to clone with --recursive
git clone --recursive https://github.com/rbgirshick/py-faster-rcnn.git

Avg training loss curve

this is a really small part code for training loss curve especially in yolo

step 1

To rercord the log during training your model, please run the code

cd $darknet(your model file)
script -R log.txt

step 2

Once your traning has been done, please don't forget to stop the log by ^c or exit()
Open your matlab with sudo matlab and change the train_log_file(it don't need to change usually)

step 3

It's important to change the code [~, string_output] = dos(['cat ', train_log_file, ' | grep "avg," | awk ''{print $3}'''])so that it can read your own model (if you are using yolo, please don't change it). This is used for extracting the loss output with dos command. But in the first version, the genaration is not extracted.
After normalized the code, this script can be run to plot

AP mAP P-R

About

it's for drawing&calculate P-R curve/LOSS curve/AP/mAP and store data as .mat for further use

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages