Skip to content

Commit

Permalink
Fix debug build for PoseTracker (open-mmlab#1601)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzhangzz authored and irexyc committed Jan 11, 2023
1 parent 82c1edf commit 28750ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/csrc/cpp/pose_tracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,8 @@ class Tracker {

float ObjectKeypointSimilarity(const Points& pts_a, const Bbox& box_a, const Points& pts_b,
const Bbox& box_b) {
assert(pts_a.size() == sigmas.size());
assert(pts_b.size() == sigmas.size());
assert(pts_a.size() == params.sigmas.size());
assert(pts_b.size() == params.sigmas.size());
auto scale = [](const Bbox& bbox) -> float {
auto a = bbox[2] - bbox[0];
auto b = bbox[3] - bbox[1];
Expand Down

0 comments on commit 28750ac

Please sign in to comment.