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

error about ICBaseSampler #21

Open
shaunyuan22 opened this issue Nov 23, 2022 · 0 comments
Open

error about ICBaseSampler #21

shaunyuan22 opened this issue Nov 23, 2022 · 0 comments

Comments

@shaunyuan22
Copy link

shaunyuan22 commented Nov 23, 2022

Thanks for your codes!
I met a problem when used SSPNet to train my own dataset, specifically, it will trigger a TypeError as follow:
image
And i check the code, in line 112 of ic_base_sampler.py, the following codes are the reason:

sampling_result = SamplingResult(pos_inds, neg_inds, bboxes, gt_bboxes, assign_result, gt_flags, iod_max_overlaps+conf)
in which the class SamplingResult can only be initiated with seven arguments (including self), hence the iod_max_overlaps+conf will cause the error. And when I remove the last parameter, it stills trigger another error as follow:
image
this makes me confused. Look forward to hearing from you, thanks a lot :)

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

1 participant