Skip to content

Commit

Permalink
馃悶 fix(cpp_infer): 淇rebuild_table鐨刡ug (#10810)
Browse files Browse the repository at this point in the history
structure_boxes鐨勭储寮曠敤閿欎簡锛屽鑷磀is鍜宨ou鍙兘鏃犳硶姝g‘璁$畻
  • Loading branch information
JIANG3330 committed Sep 21, 2023
1 parent 79fc4c5 commit 19ad3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/cpp_infer/src/paddlestructure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ PaddleStructure::rebuild_table(std::vector<std::string> structure_html_tags,
std::vector<std::vector<float>> dis_list(structure_boxes.size(),
std::vector<float>(3, 100000.0));
for (int j = 0; j < structure_boxes.size(); j++) {
if (structure_boxes[i].size() == 8) {
if (structure_boxes[j].size() == 8) {
structure_box = Utility::xyxyxyxy2xyxy(structure_boxes[j]);
} else {
structure_box = structure_boxes[j];
Expand Down

0 comments on commit 19ad3d9

Please sign in to comment.