From d886b451dfe9f805d67a204b06cccd5285359f93 Mon Sep 17 00:00:00 2001 From: MissPenguin Date: Mon, 26 Apr 2021 02:17:09 +0000 Subject: [PATCH] Modify the resize operation to be consistent with the python version --- tools/infer/predict_det.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/infer/predict_det.py b/tools/infer/predict_det.py index 82492abc..13cbb23f 100755 --- a/tools/infer/predict_det.py +++ b/tools/infer/predict_det.py @@ -162,7 +162,6 @@ class TextDetector(object): shape_list = np.expand_dims(shape_list, axis=0) img = img.copy() starttime = time.time() - print(img.shape) self.input_tensor.copy_from_cpu(img) self.predictor.run() outputs = [] -- GitLab