SSPNet
SSPNet copied to clipboard
error about ICBaseSampler
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 :)