Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set parameter "radius" of center sample #13

Open
18804601171 opened this issue Dec 10, 2019 · 9 comments
Open

How to set parameter "radius" of center sample #13

18804601171 opened this issue Dec 10, 2019 · 9 comments

Comments

@18804601171
Copy link

No description provided.

@yqyao
Copy link
Owner

yqyao commented Dec 11, 2019

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

@18804601171
Copy link
Author

@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
Copy link
Author

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

@yqyao
Copy link
Owner

yqyao commented Dec 12, 2019

In my experiment, 1.5 is the best. @18804601171

@18804601171
Copy link
Author

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

@yqyao
Copy link
Owner

yqyao commented Dec 12, 2019

Gt will be implicitly expanded in this line, I just expanded it in advance. @18804601171

left = gt_xs[:, None] - center_gt[..., 0]

@18804601171
Copy link
Author

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

@yqyao
Copy link
Owner

yqyao commented Dec 12, 2019

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

@18804601171
Copy link
Author

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants