Skip to content

Commit

Permalink
fix wrong comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahryarSaljoughi committed Dec 10, 2023
1 parent 44103df commit b6ee192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/image_to_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def image_to_annotations(img_fn: str, out_dir: str) -> None:
if isinstance(pose_results, dict) and 'code' in pose_results.keys() and pose_results['code'] == 404:
assert False, f'Error performing pose estimation. Check that drawn_humanoid_pose_estimator.mar was properly downloaded. Response: {pose_results}'

# if more than one skeleton detected, abort
# if no skeleton detected, abort
if len(pose_results) == 0:
msg = 'Could not detect any skeletons within the character bounding box. Expected exactly 1. Aborting.'
logging.critical(msg)
Expand Down

0 comments on commit b6ee192

Please sign in to comment.