diff --git a/deploy/python/predict_rec.py b/deploy/python/predict_rec.py index b9e08a375bc2892308df5252df26b6daf044a0ba..64c18e02e1bd781afaa3450708dc07708d096929 100644 --- a/deploy/python/predict_rec.py +++ b/deploy/python/predict_rec.py @@ -36,7 +36,7 @@ class RecPredictor(Predictor): "transform_ops"]) self.postprocess = build_postprocess(config["RecPostProcess"]) - def predict(self, images, feature_normalize=False): + def predict(self, images, feature_normalize=True): input_names = self.paddle_predictor.get_input_names() input_tensor = self.paddle_predictor.get_input_handle(input_names[0])