Open Luux opened 4 years ago
Hi @Luux You missed that csresnext50 has 512 input size, and yolov3-spp - 416, and difference between anchor boxes is the same as between input sizes.
But there is another question - do we need to scale them when changing input size? Seems like it still works, so anchors scaling does not matter?
@VolkovAK The scaling is not the probem - of course the anchor boxes can have different sizes. What I mean is which anchor boxes are used in which layers. In the README is written that the first yolo layer should begin with these greater than 60x60px, the 2nd gets the ones between 60x60 and 30x30 and the 3rd one the remaining. This means, you start with the biggest anchors in yolo layer 1 and proceed to the smaller ones in the remaining yolo layers.
However, in the csresnext configs the first yolo layer gets the smallest anchors instead of the biggest - the order is reversed. I wonder if I missed some architecture-specific thing (then it should be documented) or if this just a mistake in the csresnext config.
Hi there, the README states the following for the mask settings:
In https://github.com/AlexeyAB/darknet/blob/master/cfg/yolov3-spp.cfg, this results in
Considering the README, this is the correct order. However, in the newer https://github.com/AlexeyAB/darknet/blob/master/cfg/csresnext50-panet-spp-original-optimal.cfg, this order is reversed:
According to the README, this mask order does not seem to be set correctly and it should be like in the yolov3-spp config. Or did I miss something?