The val.txt file has testing images and labels, which have been tested by Caffe model.
After the images in train.txt haven been trained, and the images in val.txt have been tested.
How to calculate the "precision" and "recall" from the val.txt file (which has been tested by Caffe model)?
Could you pls help to recommend some python codes?