未验证 提交 0a2153c9 编写于 作者: G George Ni 提交者: GitHub

[mot] fix mot pose unite deploy cpu mkldnn (#3837)

上级 c865c88a
...@@ -91,6 +91,8 @@ class JDE_Detector(Detector): ...@@ -91,6 +91,8 @@ class JDE_Detector(Detector):
def postprocess(self, pred_dets, pred_embs, threshold): def postprocess(self, pred_dets, pred_embs, threshold):
online_targets = self.tracker.update(pred_dets, pred_embs) online_targets = self.tracker.update(pred_dets, pred_embs)
if online_targets == []:
return [pred_dets[0][:4]], [pred_dets[0][4]], [1]
online_tlwhs, online_ids = [], [] online_tlwhs, online_ids = [], []
online_scores = [] online_scores = []
for t in online_targets: for t in online_targets:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册