Download mmpose/structures/__init__.py from bdsqlsz/SDPose: direct link, hf CLI and curl.
- Browser
- Download file 904 Bytes
-
https://huggingface.co/spaces/bdsqlsz/SDPose/resolve/main/mmpose/structures/__init__.py
- Command line
-
hf download hf://spaces/bdsqlsz/SDPose/mmpose/structures/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/bdsqlsz/SDPose/resolve/main/mmpose/structures/__init__.py
904 Bytes
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # All rights reserved. | |
| # | |
| # This source code is licensed under the license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| from .bbox import (bbox_cs2xywh, bbox_cs2xyxy, bbox_xywh2cs, bbox_xywh2xyxy, | |
| bbox_xyxy2cs, bbox_xyxy2xywh, flip_bbox, | |
| get_udp_warp_matrix, get_warp_matrix) | |
| from .keypoint import flip_keypoints | |
| from .multilevel_pixel_data import MultilevelPixelData | |
| from .pose_data_sample import PoseDataSample | |
| from .utils import merge_data_samples, revert_heatmap, split_instances | |
| __all__ = [ | |
| 'PoseDataSample', 'MultilevelPixelData', 'bbox_cs2xywh', 'bbox_cs2xyxy', | |
| 'bbox_xywh2cs', 'bbox_xywh2xyxy', 'bbox_xyxy2cs', 'bbox_xyxy2xywh', | |
| 'flip_bbox', 'get_udp_warp_matrix', 'get_warp_matrix', 'flip_keypoints', | |
| 'merge_data_samples', 'revert_heatmap', 'split_instances' | |
| ] | |