From 84b88659a124ecb3fb60b690cc2ccfb68a071638 Mon Sep 17 00:00:00 2001 From: Jiawei Wang Date: Thu, 14 Oct 2021 11:03:44 +0800 Subject: [PATCH] Update web_service.py --- .../pipeline/PaddleDetection/faster_rcnn/web_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/examples/pipeline/PaddleDetection/faster_rcnn/web_service.py b/python/examples/pipeline/PaddleDetection/faster_rcnn/web_service.py index fa026000..08a91222 100644 --- a/python/examples/pipeline/PaddleDetection/faster_rcnn/web_service.py +++ b/python/examples/pipeline/PaddleDetection/faster_rcnn/web_service.py @@ -25,7 +25,7 @@ class FasterRCNNOp(Op): self.img_preprocess = Sequential([ BGR2RGB(), Div(255.0), Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225], False), - Resize((640, 640)), Transpose((2, 0, 1)) + Resize(640, 640), Transpose((2, 0, 1)) ]) self.img_postprocess = RCNNPostprocess("label_list.txt", "output") -- GitLab