diff --git a/deploy/pipeline/pipeline.py b/deploy/pipeline/pipeline.py index 3407f479e82a5a7ac96e29da98168df25ab44e20..5a578daa29555395eb906c67701ac7df9f8e91e4 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