Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update fmpose3d/inference_api/fmpose3d.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
  • Loading branch information
deruyter92 and Copilot authored Feb 26, 2026
commit aafda50580831bea47f800f97269893a72686f06
8 changes: 4 additions & 4 deletions fmpose3d/inference_api/fmpose3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -1111,10 +1111,10 @@ def _normalize_3d_input(
if isinstance(keypoints_2d, Pose2DResult):
if image_size is not None and image_size != keypoints_2d.image_size:
raise ValueError(
f"Got two different image sizes: image_size={image_size} does not match "
f"Got Pose2DResult.image_size={keypoints_2d.image_size} and image_size={image_size}. "
"Please provide either a Pose2DResult (containing image_size), or keypoints_2d as a "
"numpy ndarray together with image_size={image_size}."
f"Image size mismatch: Pose2DResult.image_size={keypoints_2d.image_size}, "
f"image_size={image_size}. Please provide either a Pose2DResult (containing "
f"image_size), or keypoints_2d as a numpy ndarray together with "
f"image_size={image_size}."
)
return keypoints_2d

Expand Down
Loading