I am recently trying out darkflow, a Tensorflow implementation of Darknet written by Joseph Redmon. Looking at the configuration files, I noticed a section called region as shown below.
[region]
anchors = 1.08,1.19, 3.42,4.41, 6.63,11.38, 9.42,5.11, 16.62,10.52
bias_match=1
classes=2
coords=4
num=5
softmax=1
jitter=.2
rescore=1
The anchor box values are pre-calculated. Are the anchor values used universally for all trained data sets? If not, how does one calculate the anchor box values from their own image annotations?