Skip to content

Commit

Permalink
repleace # with // (PaddlePaddle#5879)
Browse files Browse the repository at this point in the history
  • Loading branch information
WenmuZhou authored Apr 4, 2022
1 parent b0cdee3 commit 4ebda47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions deploy/cpp_infer/external-cmake/auto-log.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ set(FETCHCONTENT_BASE_DIR "${CMAKE_CURRENT_BINARY_DIR}/third-party")
FetchContent_Declare(
extern_Autolog
PREFIX autolog
# If you don't have access to github, replace it with https://gitee.com/Double_V/AutoLog
GIT_REPOSITORY https://github.com/LDOUBLEV/AutoLog.git
GIT_TAG main
)
Expand Down
6 changes: 3 additions & 3 deletions deploy/cpp_infer/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ int main_det(std::vector<cv::String> cv_all_img_names) {
std::vector<double> det_times;

det.Run(srcimg, boxes, &det_times);
//// visualization
// visualization
if (FLAGS_visualize) {
std::string file_name = Utility::basename(cv_all_img_names[i]);
Utility::VisualizeBboxes(srcimg, boxes, FLAGS_output + "/" + file_name);
Expand Down Expand Up @@ -223,7 +223,7 @@ int main_system(std::vector<cv::String> cv_all_img_names) {
<< cv_all_img_names[i] << endl;
exit(1);
}
#det
// det
std::vector<std::vector<std::vector<int>>> boxes;
std::vector<double> det_times;
std::vector<double> rec_times;
Expand All @@ -237,7 +237,7 @@ int main_system(std::vector<cv::String> cv_all_img_names) {
time_info_det[1] += det_times[1];
time_info_det[2] += det_times[2];

#rec
// rec
std::vector<cv::Mat> img_list;
for (int j = 0; j < boxes.size(); j++) {
cv::Mat crop_img;
Expand Down

0 comments on commit 4ebda47

Please sign in to comment.