Skip to content

Commit e23725c

Browse files
authored
[cherry-pick] fix mot pose unite deploy cpu mkldnn (#3842)
1 parent 651d9ce commit e23725c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deploy/python/mot_jde_infer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ def __init__(self,
9191

9292
def postprocess(self, pred_dets, pred_embs, threshold):
9393
online_targets = self.tracker.update(pred_dets, pred_embs)
94+
if online_targets == []:
95+
return [pred_dets[0][:4]], [pred_dets[0][4]], [1]
9496
online_tlwhs, online_ids = [], []
9597
online_scores = []
9698
for t in online_targets:

0 commit comments

Comments
 (0)