You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your codes!
I met a problem when used SSPNet to train my own dataset, specifically, it will trigger a TypeError as follow:
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:
this makes me confused. Look forward to hearing from you, thanks a lot :)
The text was updated successfully, but these errors were encountered:
Thanks for your codes!

I met a problem when used SSPNet to train my own dataset, specifically, it will trigger a TypeError as follow:
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 (includingself
), hence theiod_max_overlaps+conf
will cause the error. And when I remove the last parameter, it stills trigger another error as follow:this makes me confused. Look forward to hearing from you, thanks a lot :)
The text was updated successfully, but these errors were encountered: