Skip to content

Commit

Permalink
Merge pull request #253 from ShahryarSaljoughi/original_main
Browse files Browse the repository at this point in the history
  • Loading branch information
hjessmith authored Dec 10, 2023
2 parents 44103df + b6ee192 commit ec1b709
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 ec1b709

Please sign in to comment.