From 09788d265b904e08b684bff73eb4475656d0fe1e Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 15 Sep 2022 14:03:23 +0800 Subject: [PATCH] Update infer_picodet.cc --- examples/vision/detection/paddledetection/cpp/infer_picodet.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/vision/detection/paddledetection/cpp/infer_picodet.cc b/examples/vision/detection/paddledetection/cpp/infer_picodet.cc index e4164f9ef..9c167c85d 100644 --- a/examples/vision/detection/paddledetection/cpp/infer_picodet.cc +++ b/examples/vision/detection/paddledetection/cpp/infer_picodet.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, 320, 320}); - option.SetTrtInputShape("scale_Factor", {1, 2}); auto model = fastdeploy::vision::detection::PicoDet(model_file, params_file, config_file, option); if (!model.Initialized()) {