diff --git a/deploy/pphuman/mtmct.py b/deploy/pphuman/mtmct.py index 5c7494edf1327955e045a8c82a2458bbda0a23de..7c4d571155e932dc7bb4cf77b10ab5cb6c0be66c 100644 --- a/deploy/pphuman/mtmct.py +++ b/deploy/pphuman/mtmct.py @@ -321,6 +321,8 @@ def res2dict(multi_res): for tid, res in c_res.items(): key = "c" + str(cid) + "_t" + str(tid) if key not in cid_tid_dict: + if len(res["rects"]) < 10: + continue cid_tid_dict[key] = res cid_tid_dict[key]['mean_feat'] = distill_idfeat(res) return cid_tid_dict