From f77f558d813402d4da1b01c7a3725823aa45e1c3 Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 15 Sep 2022 14:03:40 +0800 Subject: [PATCH] Update infer_ppyoloe.cc --- examples/vision/detection/paddledetection/cpp/infer_ppyoloe.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/vision/detection/paddledetection/cpp/infer_ppyoloe.cc b/examples/vision/detection/paddledetection/cpp/infer_ppyoloe.cc index 044c8eaa7..ed2dfd2bd 100644 --- a/examples/vision/detection/paddledetection/cpp/infer_ppyoloe.cc +++ b/examples/vision/detection/paddledetection/cpp/infer_ppyoloe.cc @@ -83,8 +83,6 @@ void TrtInfer(const std::string& model_dir, const std::string& image_file) { auto option = fastdeploy::RuntimeOption(); option.UseGpu(); option.UseTrtBackend(); - option.SetTrtInputShape("image", {1, 3, 640, 640}); - option.SetTrtInputShape("scale_factor", {1, 2}); auto model = fastdeploy::vision::detection::PPYOLOE(model_file, params_file, config_file, option); if (!model.Initialized()) {