modified ctdet_decode to support cat_spec_wh
This commit is contained in:
parent
9781e7defd
commit
8d95cc380f
|
@ -37,7 +37,7 @@ class CtdetDetector(BaseDetector):
|
|||
reg = reg[0:1] if reg is not None else None
|
||||
torch.cuda.synchronize()
|
||||
forward_time = time.time()
|
||||
dets = ctdet_decode(hm, wh, reg=reg, K=self.opt.K)
|
||||
dets = ctdet_decode(hm, wh, reg=reg, cat_spec_wh=self.opt.cat_spec_wh, K=self.opt.K)
|
||||
|
||||
if return_time:
|
||||
return output, dets, forward_time
|
||||
|
|
Loading…
Reference in New Issue