MCPcopy Create free account

hub / github.com/MVIG-SJTU/AlphaPose / functions

Functions1,314 in github.com/MVIG-SJTU/AlphaPose

Methodimage_preprocess
(self, img_name)
detector/apis.py:40
Methodimage_preprocess
Pre-process the img before fed to the object detection network Input: image name(str) or raw image data(ndarray or torch.Tensor,chann
detector/tracker_api.py:71
Methodimage_preprocess
Pre-process the img before fed to the object detection network Input: image name(str) or raw image data(ndarray or torch.Tensor,chann
detector/effdet_api.py:79
Methodimages_detection
Feed the img data into object detection network and collect bbox w.r.t original image size Input: imgs(torch.FloatTensor,(b,3
detector/yolox_api.py:75
Methodimages_detection
Feed the img data into object detection network and collect bbox w.r.t original image size Input: imgs(torch.FloatTensor,(b,
detector/yolo_api.py:77
Methodimages_detection
Feed the img data into object detection network and collect bbox w.r.t original image size Input: imgs(torch.FloatTensor,(b,
detector/tracker_api.py:86
Methodimages_detection
Feed the img data into object detection network and collect bbox w.r.t original image size Input: imgs(torch.FloatTensor,(b,
detector/effdet_api.py:94
Methodinclude_dirs
(self)
detector/yolox/yolox/layers/jit_ops.py:147
Functioninit_dist
Initialize distributed computing environment.
alphapose/utils/env.py:11
Functioninit_seeds
(seed=0)
trackers/utils/utils.py:28
Functioninit_seeds
(seed=0)
trackers/tracking/utils/utils.py:30
Functioninit_seeds
(seed=0)
detector/tracker/utils/utils.py:30
Methodinit_yolo
(M)
detector/yolox/yolox/exp/yolox_base.py:113
Methodinit_yolo
(M)
detector/yolox/exps/example/custom/nano.py:32
Methodinit_yolo
(M)
detector/yolox/exps/default/yolov3.py:20
Methodinit_yolo
(M)
detector/yolox/exps/default/yolox_nano.py:26
Methodinitiate
Create track from unassociated measurement. Parameters ---------- measurement : ndarray Bounding box coordin
trackers/tracking/utils/kalman_filter.py:55
Functioninp_to_image
(inp)
detector/yolo/preprocess.py:76
Functionint_box
(box)
trackers/utils/bbox.py:35
Functionintegral_op
(hm_1d)
alphapose/utils/transforms.py:592
Functionintegral_op
(hm_1d)
alphapose/utils/metrics.py:158
Functioniou_distance
Compute cost based on IoU :type atracks: list[STrack] :type btracks: list[STrack] :rtype cost_matrix np.ndarray
detector/tracker/tracker/matching.py:76
Methodjoint_pairs
Joint pairs which defines the pairs of joint to be swapped when the image is flipped horizontally.
alphapose/utils/file_detector.py:172
Methodjoint_pairs
Joint pairs which defines the pairs of joint to be swapped when the image is flipped horizontally.
alphapose/utils/webcam_detector.py:210
Methodjoint_pairs
Joint pairs which defines the pairs of joint to be swapped when the image is flipped horizontally.
alphapose/datasets/halpe_136_det.py:103
Methodjoint_pairs
Joint pairs which defines the pairs of joint to be swapped when the image is flipped horizontally.
alphapose/datasets/coco_det.py:103
Methodjoint_pairs
Joint pairs which defines the pairs of joint to be swapped when the image is flipped horizontally.
alphapose/datasets/custom.py:168
Methodjoint_pairs
Joint pairs which defines the pairs of joint to be swapped when the image is flipped horizontally.
alphapose/datasets/coco_wholebody_det.py:103
Methodjoint_pairs
Joint pairs which defines the pairs of joint to be swapped when the image is flipped horizontally.
alphapose/datasets/halpe_68_noface_det.py:103
Methodjoint_pairs
Joint pairs which defines the pairs of joint to be swapped when the image is flipped horizontally.
alphapose/datasets/single_hand_det.py:103
Methodjoint_pairs
Joint pairs which defines the pairs of joint to be swapped when the image is flipped horizontally.
alphapose/datasets/halpe_coco_wholebody_136_det.py:103
Methodjoint_pairs
Joint pairs which defines the pairs of joint to be swapped when the image is flipped horizontally.
alphapose/datasets/halpe_26_det.py:103
Methodjoint_pairs
Joint pairs which defines the pairs of joint to be swapped when the image is flipped horizontally.
alphapose/datasets/halpe_coco_wholebody_26_det.py:103
Methodjoint_pairs
Joint pairs which defines the pairs of joint to be swapped when the image is flipped horizontally.
alphapose/datasets/mpii.py:35
Functionjoints2bones
Decompose joints location to bone length and direction. Parameters ---------- joints: torch.tensor Bx24x3
alphapose/models/layers/smpl/lbs.py:143
Methodlength
(self)
alphapose/utils/file_detector.py:168
Methodlength
(self)
alphapose/utils/detector.py:299
Functionlinear_assignment
Simple linear assignment :type cost_matrix: np.ndarray :type thresh: float :return: matches, unmatched_a, unmatched_b
detector/tracker/tracker/matching.py:39
Functionload_classes
Loads class labels at 'path'
trackers/utils/utils.py:36
Functionload_classes
Loads class labels at 'path'
trackers/tracking/utils/utils.py:38
Functionload_classes
Loads class labels at 'path'
detector/tracker/utils/utils.py:38
Functionload_darknet_weights
(self, weights, cutoff=-1)
detector/tracker/models.py:279
Functionload_image
(img_path)
trackers/utils/basetransforms.py:117
Functionload_image
(img_path)
alphapose/utils/transforms.py:110
Functionload_net
(fname, net, prefix='', load_state_dict=False)
trackers/ReidModels/net_utils.py:101
Functionload_pose_boxes
(img_name)
trackers/PoseFlow/tracker-general.py:141
Functionload_pretrained
(model, url, filter_fn=None, strict=True)
detector/efficientdet/effdet/helpers.py:31
Methodload_pretrained_model
(self, filename="./weights/darknet53.mix.pth")
detector/yolox/yolox/models/yolo_fpn.py:53
Functionload_reid_model
()
trackers/ReidModels/reid/__init__.py:13
Functionmask_cross_entropy
(pred, target)
alphapose/utils/metrics.py:60
Methodmatch_results
The accessor for match results. Returns: the tensor which encodes the match results.
detector/efficientdet/effdet/object_detection/matcher.py:65
Methodmatched_row_indices
Returns row indices that match some column. The indices returned by this op are ordered so as to be in correspondence with the output of
detector/efficientdet/effdet/object_detection/matcher.py:149
Functionmatrix_iou
return iou of a and b, numpy version for data augenmentation
detector/yolox/yolox/utils/boxes.py:125
Methodmerge
(self, cfg_list)
detector/yolox/yolox/exp/base_exp.py:64
Functionmerge_matches
(m1, m2, shape)
trackers/tracking/matching.py:11
Functionmerge_matches
(m1, m2, shape)
detector/tracker/tracker/matching.py:11
Functionmkdir_if_missing
(d)
trackers/utils/utils.py:19
Functionmkdir_if_missing
(d)
trackers/tracking/utils/utils.py:21
Functionmkdir_if_missing
(d)
detector/tracker/utils/utils.py:21
Functionmodel_info
(model)
trackers/utils/utils.py:45
Functionmodel_info
(model)
trackers/tracking/utils/utils.py:47
Functionmodel_info
(model)
detector/tracker/utils/utils.py:47
Methodmodule_dict
(self)
alphapose/utils/registry.py:20
Methodmulti_predict
Run Kalman filter prediction step (Vectorized version). Parameters ---------- mean : ndarray The Nx8 dimensi
trackers/utils/kalman_filter.py:155
Functionmultipeak_heatmap_to_coord
(hms, bbox)
trackers/utils/basetransforms.py:643
Methodname
(self)
alphapose/utils/registry.py:16
Functionnon_max_suppression
Removes detections with lower object confidence score than 'conf_thres' Non-Maximum Suppression to further filter detections. Returns
trackers/utils/utils.py:488
Functionnon_max_suppression
Removes detections with lower object confidence score than 'conf_thres' Non-Maximum Suppression to further filter detections. Returns det
trackers/tracking/utils/utils.py:430
Methodnum_ignored_columns
Returns number (int32 scalar tensor) of matched columns.
detector/efficientdet/effdet/object_detection/matcher.py:135
Methodnum_joints
(self)
alphapose/datasets/custom.py:164
Methodnum_matched_columns
Returns number (int32 scalar tensor) of matched columns.
detector/efficientdet/effdet/object_detection/matcher.py:91
Methodnum_persons
(self)
trackers/PoseFlow/poseflow_infer.py:161
Methodnum_unmatched_columns
Returns number (int32 scalar tensor) of unmatched columns.
detector/efficientdet/effdet/object_detection/matcher.py:113
Functionosnet_ibn_x1_0
( num_classes=1000, pretrained=True, loss='softmax', **kwargs )
trackers/ReidModels/osnet.py:581
Functionosnet_x0_25
(num_classes=1000, pretrained=True, loss='softmax', **kwargs)
trackers/ReidModels/osnet.py:566
Functionosnet_x0_5
(num_classes=1000, pretrained=True, loss='softmax', **kwargs)
trackers/ReidModels/osnet.py:551
Functionosnet_x0_75
(num_classes=1000, pretrained=True, loss='softmax', **kwargs)
trackers/ReidModels/osnet.py:536
Functionosnet_x1_0
(num_classes=1000, pretrained=True, loss='softmax', **kwargs)
trackers/ReidModels/osnet.py:521
Functionp_merge
Score-weighted pose merging INPUT: ref_pose: reference pose -- [kp_num, 2] cluster_preds: redundant poses
alphapose/utils/pPose_nms.py:486
Functionparse_data_cfg
Parses the data configuration file
trackers/utils/parse_config.py:24
Functionparse_data_cfg
Parses the data configuration file
trackers/tracking/utils/parse_config.py:24
Functionparse_data_cfg
Parses the data configuration file
detector/tracker/utils/parse_config.py:22
Functionparse_model_cfg
Parses the yolo-v3 layer configuration file and returns module definitions
trackers/utils/parse_config.py:1
Functionparse_model_cfg
Parses the yolo-v3 layer configuration file and returns module definitions
trackers/tracking/utils/parse_config.py:1
Functionplot_detections
(image, tlbrs, scores=None, color=(255, 0, 0), ids=None)
detector/tracker/utils/visualization.py:68
Functionplot_one_box
(x, img, color=None, label=None, line_thickness=None)
trackers/utils/utils.py:57
Functionplot_one_box
(x, img, color=None, label=None, line_thickness=None)
trackers/tracking/utils/utils.py:59
Functionplot_one_box
(x, img, color=None, label=None, line_thickness=None)
detector/tracker/utils/utils.py:59
Functionplot_results
()
trackers/utils/utils.py:635
Functionplot_results
()
trackers/tracking/utils/utils.py:495
Functionplot_results
()
detector/tracker/utils/utils.py:495
Functionplot_tracking
(image, tlwhs, obj_ids, scores=None, frame_id=0, fps=0., ids2=None)
detector/tracker/utils/visualization.py:28
Functionplot_trajectory
(image, tlwhs, track_ids)
detector/tracker/utils/visualization.py:57
Functionpooling_nms
(heatmap, kernel=1)
trackers/utils/utils.py:482
Functionpooling_nms
(heatmap, kernel=1)
trackers/tracking/utils/utils.py:417
Functionpooling_nms
(heatmap, kernel=1)
detector/tracker/utils/utils.py:417
Functionpred_corner_coord
(prediction)
detector/yolo/bbox.py:81
Methodpredict
(self)
trackers/tracker_api.py:65
Methodpredict
:param rois: numpy array [N, 4] ( x1, y1, x2, y2) :return: scores [N]
trackers/ReidModels/classification/classifier.py:94
Methodpredict
Run Kalman filter prediction step. Parameters ---------- mean : ndarray The 8 dimensional mean vector of the
trackers/utils/kalman_filter.py:89
← previousnext →1,101–1,200 of 1,314, ranked by callers