FCOS_PLUS icon indicating copy to clipboard operation
FCOS_PLUS copied to clipboard

How to set parameter "radius" of center sample

Open 18804601171 opened this issue 5 years ago • 9 comments

18804601171 avatar Dec 10 '19 09:12 18804601171

You can add it in config file (configs/fcos/fcos_R_50_FPN_1x_center_giou.yaml) @18804601171

yqyao avatar Dec 11 '19 02:12 yqyao

@yqyao gt = gt[None].expand(K, num_gts, 4),in this line have a error,RuntimeError: expand(torch.cuda.FloatTensor{[1, 8525, 70, 4]}, size=[8525, 8525, 4]): the number of sizes provided (3) must be greater or equal to the number of dimensions in the tensor (4) ,expand shouldn't have error,why do you know

18804601171 avatar Dec 11 '19 12:12 18804601171

in addition,how to set the value of radius is suitable?

18804601171 avatar Dec 11 '19 12:12 18804601171

In my experiment, 1.5 is the best. @18804601171

yqyao avatar Dec 12 '19 02:12 yqyao

@yqyao why expand gt's dim,why not use original dim

18804601171 avatar Dec 12 '19 02:12 18804601171

Gt will be implicitly expanded in this line, I just expanded it in advance. @18804601171 https://github.com/yqyao/FCOS_PLUS/blob/0d20ba34ccc316650d8c30febb2eb40cb6eaae37/maskrcnn_benchmark/modeling/rpn/fcos/loss.py#L66

yqyao avatar Dec 12 '19 02:12 yqyao

How many dim of gt are passed into function get sample region @yqyao

18804601171 avatar Dec 12 '19 03:12 18804601171

I don't understand your question very well, I think all gt will be passed into function to get sample region. Maybe you need to read our recent paper https://arxiv.org/abs/1912.02424. @18804601171

yqyao avatar Dec 12 '19 03:12 yqyao

@yqyao The size of radius only determines the sampling range. If it is beyond gt, is it still possible to sample in the original gt,So why does its size affect the final result?

18804601171 avatar Dec 13 '19 12:12 18804601171