From 0e2897cdf67935c52a882fb64978f011026808e5 Mon Sep 17 00:00:00 2001 From: zhiboniu <31800336+zhiboniu@users.noreply.github.com> Date: Mon, 13 Mar 2023 12:13:31 +0800 Subject: [PATCH] fit no tracker info error (#7927) --- deploy/pipeline/pipeline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/pipeline/pipeline.py b/deploy/pipeline/pipeline.py index 3407f479e..5a578daa2 100644 --- a/deploy/pipeline/pipeline.py +++ b/deploy/pipeline/pipeline.py @@ -534,7 +534,8 @@ class PipePredictor(object): else: self.predict_image(input) self.pipe_timer.info() - self.mot_predictor.det_times.tracking_info(average=True) + if hasattr(self, 'mot_predictor'): + self.mot_predictor.det_times.tracking_info(average=True) def predict_image(self, input): # det -- GitLab