diff --git a/tools/infer/predict_cls.py b/tools/infer/predict_cls.py index 1a0cf356..8f2a1361 100755 --- a/tools/infer/predict_cls.py +++ b/tools/infer/predict_cls.py @@ -112,7 +112,6 @@ class TextClassifier(object): if '180' in label and score > self.cls_thresh: img_list[indices[beg_img_no + rno]] = cv2.rotate( img_list[indices[beg_img_no + rno]], 1) - elapse = time.time() - starttime return img_list, cls_res, elapse