fpn.pytorch icon indicating copy to clipboard operation
fpn.pytorch copied to clipboard

change anchor size to detect extremely small objects

Open KevinQian97 opened this issue 7 years ago • 2 comments

Hi, sorry to bother you again.. I want to change the anchor size to detect some extremely small objects. So in the faster rcnn version, we can directly change the line args.set_cfgs... in trainval_net.py but when it comes to the fpn version the line turns to args.set_cfgs = ['FPN_ANCHOR_SCALES', '[32, 64, 128, 256, 512]', 'FPN_FEAT_STRIDES', '[4, 8, 16, 32, 64]', then when I change the scales and strides, there is a problem about IndexError: list index out of range So does that mean I can only change the anchor size for RPN in config.py?

Thanks for your help

KevinQian97 avatar Sep 07 '18 15:09 KevinQian97

I have the same problem

E-Dreamer-LQ avatar Apr 14 '19 07:04 E-Dreamer-LQ

I think the key cause the error is not anchor_scales, but images load cache, do you check the path '...../data/cache' and make sure this folder is empty?

cjxnew avatar Nov 18 '20 08:11 cjxnew