mxnet-yolo icon indicating copy to clipboard operation
mxnet-yolo copied to clipboard

how to design anchor size?

Open twinsyssy1018 opened this issue 6 years ago • 2 comments

hi,thanks for your sharing.i want to train on my dataset,my targets are much smaller. could you tell me how to change the anchor size . in your code it is like this: anchors = [ 1.3221, 1.73145, 3.19275, 4.00944, 5.05587, 8.09892, 9.47112, 4.84053, 11.2364, 10.0071]

i dont know exact means of these corresponds, is it (w,h) of box ?

twinsyssy1018 avatar Nov 09 '17 02:11 twinsyssy1018

@twinsyssy1018 In YOLOv2, we got the anchor by K-Means, which was explained by the paper:https://arxiv.org/abs/1612.08242. You can use this to generate anchors fit your own dataset.

franciszzj avatar Dec 12 '17 02:12 franciszzj

@twinsyssy1018 did you figure it out?

nvnnghia avatar Feb 09 '18 04:02 nvnnghia