Skip to content

Commit 2f6fc20

Browse files
committed
Fixed height check based on [original repo #202](Daniil-Osokin/lightweight-human-pose-estimation.pytorch#202)
1 parent fa5815b commit 2f6fc20

File tree

1 file changed

+1
-1
lines changed
  • src/opendr/perception/pose_estimation/lightweight_open_pose/algorithm/datasets

1 file changed

+1
-1
lines changed

Diff for: src/opendr/perception/pose_estimation/lightweight_open_pose/algorithm/datasets/transformations.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def __call__(self, sample):
165165
if image_y_start < 0:
166166
crop_y_start -= image_y_start
167167
image_y_start = 0
168-
if image_y_start >= w:
168+
if image_y_start >= h:
169169
should_crop = False
170170

171171
if image_x_finish > w:

0 commit comments

Comments
 (0)