[docs] update win build docs with cmake-gui+vs2019 (#280)

* Delete redundant Chinese comments

* [docs] update win build docs with cmake-gui+vs2019

* [docs] update win build docs with cmake-gui+vs2019

* [examples] replace some cn comments with en

* [cmake] update FastDeploy.cmake.in

* [docs] update windows c++ sdk usage docs

* [cmake] update FastDeploy.cmake.in

* [docs] update windows sdk usage docs

Co-authored-by: Jason <jiangjiajun@baidu.com>
This commit is contained in:
DefTruth
2022-09-26 19:25:12 +08:00
committed by GitHub
parent 355382ad63
commit 9e09a55abb
14 changed files with 496 additions and 68 deletions

View File

@@ -21,7 +21,6 @@ void CpuInfer(const std::string& model_file, const std::string& image_file,
std::cerr << "Failed to initialize." << std::endl;
return;
}
// 设置推理size, 必须和模型文件一致
model.size = {256, 256};
auto im = cv::imread(image_file);
auto im_bak = im.clone();
@@ -52,7 +51,6 @@ void GpuInfer(const std::string& model_file, const std::string& image_file,
std::cerr << "Failed to initialize." << std::endl;
return;
}
// 设置推理size, 必须和模型文件一致
model.size = {256, 256};
auto im = cv::imread(image_file);
@@ -86,7 +84,6 @@ void TrtInfer(const std::string& model_file, const std::string& image_file,
std::cerr << "Failed to initialize." << std::endl;
return;
}
// 设置推理size, 必须和模型文件一致
model.size = {256, 256};
auto im = cv::imread(image_file);
auto im_bak = im.clone();