修正 [examples/vision/segmentation/paddleseg/cpu-gpu/cpp/infer.cc] 第93行末尾漏了';' (#1507)

修正第93行末尾漏了';'
This commit is contained in:
Edward Zhou
2023-03-04 11:24:56 +08:00
committed by GitHub
parent d21d48810e
commit 81c2c75c5c

View File

@@ -90,7 +90,7 @@ void TrtInfer(const std::string& model_dir, const std::string& image_file) {
option.EnablePaddleToTrt(); option.EnablePaddleToTrt();
option.EnablePaddleTrtCollectShape(); option.EnablePaddleTrtCollectShape();
option.SetTrtInputShape("x", {1, 3, 256, 256}, {1, 3, 1024, 1024}, option.SetTrtInputShape("x", {1, 3, 256, 256}, {1, 3, 1024, 1024},
{1, 3, 2048, 2048}) {1, 3, 2048, 2048});
auto model = fastdeploy::vision::segmentation::PaddleSegModel( auto model = fastdeploy::vision::segmentation::PaddleSegModel(
model_file, params_file, config_file, option); model_file, params_file, config_file, option);