File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1111,10 +1111,10 @@ def _normalize_3d_input(
11111111 if isinstance (keypoints_2d , Pose2DResult ):
11121112 if image_size is not None and image_size != keypoints_2d .image_size :
11131113 raise ValueError (
1114- f"Got two different image sizes: image_size={ image_size } does not match "
1115- f"Got Pose2DResult. image_size={ keypoints_2d . image_size } and image_size= { image_size } . "
1116- "Please provide either a Pose2DResult (containing image_size), or keypoints_2d as a "
1117- "numpy ndarray together with image_size={image_size}."
1114+ f"Image size mismatch: Pose2DResult. image_size={ keypoints_2d . image_size } , "
1115+ f"image_size={ image_size } . Please provide either a Pose2DResult (containing "
1116+ f" image_size), or keypoints_2d as a numpy ndarray together with "
1117+ f" image_size={ image_size } ."
11181118 )
11191119 return keypoints_2d
11201120
You can’t perform that action at this time.
0 commit comments