mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 09:07:10 +08:00
[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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user