MCPcopy Create free account

hub / github.com/brjathu/PHALP / functions

Functions200 in github.com/brjathu/PHALP

↓ 8 callersFunctionnumpy_to_torch_image
(ndarray)
phalp/utils/utils.py:59
↓ 7 callersMethod__init__
(self, dim, fn)
phalp/models/predictor/pose_transformer_v2.py:53
↓ 7 callersMethodpredict
(self, phalp_tracker, increase_age=True)
phalp/external/deep_sort_/track.py:63
↓ 6 callersMethodis_confirmed
Returns True if this track is confirmed.
phalp/external/deep_sort_/track.py:126
↓ 5 callersFunctionget_pylogger
Get a logger with a custom format.
phalp/utils/pylogger.py:9
↓ 5 callersMethodis_tentative
Returns True if this track is tentative (unconfirmed).
phalp/external/deep_sort_/track.py:121
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
phalp/models/backbones/resnet.py:116
↓ 4 callersMethodupdate
(self, detection, detection_id, shot)
phalp/external/deep_sort_/track.py:76
↓ 3 callersMethod__init__
(self, n_upconv, nc_init, nc_final, H, W)
phalp/models/heads/apperence_head.py:87
↓ 3 callersFunction_pdist_l2
Compute pair-wise squared l2 distances between points in `a` and `b`.
phalp/external/deep_sort_/nn_matching.py:10
↓ 3 callersMethodautoencoder_hmar
(self, x, en=True)
phalp/models/hmar/hmar.py:94
↓ 3 callersMethoddraw_text
(self, image, text, xy, bg_color=(255, 255, 255))
phalp/visualize/visualizer.py:81
↓ 3 callersFunctionget_prediction_interval
(y, y_hat, x, x_hat)
phalp/utils/utils.py:97
↓ 3 callersMethodinference
( self, batched_inputs: List[Dict[str, torch.Tensor]], detected_instances: Optional[Li
phalp/utils/utils_detectron2.py:50
↓ 3 callersMethodtrack
(self)
phalp/trackers/PHALP.py:139
↓ 2 callersMethod__init__
(self, block, layers, num_classes=1000, cfg=None)
phalp/models/backbones/resnet.py:93
↓ 2 callersMethod__init__
(self, cfg)
scripts/demo.py:146
↓ 2 callersMethodaccumulate_vectors
(self, track_ids, features="APL")
phalp/external/deep_sort_/tracker.py:157
↓ 2 callersMethodactvn
(self, x)
phalp/models/heads/apperence_head.py:200
↓ 2 callersMethodadd_predicted
(self, appe=None, pose=None, loca=None, uv=None)
phalp/external/deep_sort_/track.py:67
↓ 2 callersMethodclose_video
(self)
phalp/utils/io.py:157
↓ 2 callersFunctionconv3x3
3x3 convolution with padding
phalp/models/backbones/resnet.py:15
↓ 2 callersMethoddefault_setup
(self)
phalp/trackers/PHALP.py:129
↓ 2 callersMethodforward_for_tracking
(self, vectors, attibute="A", time=1)
phalp/trackers/PHALP.py:473
↓ 2 callersFunctiongenerate_image_patch
(cvimg, c_x, c_y, bb_width, bb_height, patch_width, patch_height, do_flip, scale, rot)
phalp/utils/utils_dataset.py:74
↓ 2 callersMethodload_weights
(self, path)
phalp/models/hmar/hmar.py:46
↓ 2 callersFunctionmake_4x4_pose
:param R (*, 3, 3) :param t (*, 3) return (*, 4, 4)
phalp/visualize/py_renderer.py:41
↓ 2 callersMethodoffline_render
(self, final_visuals_dic, save_pkl_path, save_video_path)
phalp/visualize/postprocessor.py:127
↓ 2 callersFunctionperspective_projection
This function computes the perspective projection of a set of points Input: points (bs, N, 3): 3D points rotation (bs, 3, 3):
phalp/utils/utils.py:184
↓ 2 callersMethodprocess_uv_image
(self, uv_image)
phalp/models/hmar/hmar.py:75
↓ 2 callersFunctionprogress_bar
(sequence, total=None, description=None, disable=False)
phalp/utils/utils.py:52
↓ 2 callersMethodread_frame
(frame_path)
phalp/utils/io.py:125
↓ 2 callersMethodreadout_pose
(self, output)
phalp/models/predictor/pose_transformer_v2.py:336
↓ 2 callersMethodrender_video
(self, final_visuals_dic)
phalp/visualize/visualizer.py:277
↓ 2 callersMethodreset_render
(self, image_size)
phalp/visualize/visualizer.py:52
↓ 2 callersFunctionrot6d_to_rotmat
Convert 6D rotation representation to 3x3 rotation matrix. Based on Zhou et al., "On the Continuity of Rotation Representations in Neural Networks
phalp/models/heads/smpl_head.py:7
↓ 2 callersFunctionrotate_2d
(pt_2d, rot_rad)
phalp/utils/utils_dataset.py:32
↓ 2 callersMethodsave_video
(self, video_path, rendered_, f_size, t=0)
phalp/utils/io.py:147
↓ 1 callersMethod__call__
(self, vertices, focal_length=5000, baseColorFactors=[(1.0, 1.0, 0.9, 1.0)])
phalp/visualize/py_renderer.py:124
↓ 1 callersMethod_initiate_track
(self, detection, detection_id)
phalp/external/deep_sort_/tracker.py:148
↓ 1 callersMethod_match
(self, detections)
phalp/external/deep_sort_/tracker.py:110
↓ 1 callersFunction_pdist
(cfg, a, b, dims, phalp_tracker)
phalp/external/deep_sort_/nn_matching.py:21
↓ 1 callersMethodadd_lighting
(self, scene, cam_node, color=np.ones(3), intensity=1.0)
phalp/visualize/py_renderer.py:154
↓ 1 callersMethodadd_slowfast_features
(self, fast_track)
phalp/models/predictor/pose_transformer_v2.py:424
↓ 1 callersMethodbert_mask
(self, data, mask_type)
phalp/models/predictor/pose_transformer_v2.py:237
↓ 1 callersMethodblur_faces
(self, image)
phalp/visualize/visualizer.py:250
↓ 1 callersFunctioncache_url
Download the file specified by the URL to the cache_dir and return the path to the cached file. If the argument is not a URL, simply return it as
phalp/utils/utils_download.py:48
↓ 1 callersMethodcached_download_from_drive
Download a file from Google Drive if it doesn't exist yet. :param url: the URL of the file to download :param path: the path to save t
phalp/trackers/PHALP.py:640
↓ 1 callersFunctioncompute_uvsampler
For this mesh, pre-computes the UV coordinates for F x T x T points. Returns F x T x T x 2
phalp/utils/utils.py:214
↓ 1 callersFunctionconvert_pkl
(old_pkl)
phalp/utils/utils.py:124
↓ 1 callersFunctioncreate_fast_tracklets
(data)
phalp/utils/utils_tracks.py:77
↓ 1 callersMethoddistance
Compute distance between features and targets. Parameters ---------- features : ndarray An NxM matrix of N featur
phalp/external/deep_sort_/nn_matching.py:185
↓ 1 callersFunctiondownload_url
Download url and write it to dst_file_path. Credit: https://stackoverflow.com/questions/2028517/python-urllib2-progress-hook
phalp/utils/utils_download.py:23
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). This is the same as the DropConnect impl I created for Ef
phalp/models/predictor/pose_transformer_v2.py:136
↓ 1 callersMethodextract_frames
(self, every_x_frame, img_name, dest_path=None, img_ext = '.jpg', start_frame=1000, end_frame=2000)
phalp/utils/utils.py:161
↓ 1 callersMethodflow_to_texture
(self, flow_map, img_x)
phalp/models/hmar/hmar.py:89
↓ 1 callersMethodforward
(self, skips)
phalp/models/heads/apperence_head.py:121
↓ 1 callersFunctiongen_trans_from_patch_cv
(c_x, c_y, src_width, src_height, dst_width, dst_height, scale, rot, inv=False)
phalp/utils/utils_dataset.py:41
↓ 1 callersMethodget_3d_parameters
(self, pred_smpl_params, pred_cam, center=np.array([128, 128]), img_size = 256, scale = None, )
phalp/models/hmar/hmar.py:104
↓ 1 callersFunctionget_colors
(pallette="phalp")
phalp/utils/utils.py:66
↓ 1 callersMethodget_croped_image
(self, image, bbox, bbox_pad, seg_mask)
phalp/trackers/PHALP.py:346
↓ 1 callersMethodget_detections
(self, image, frame_name, t_, additional_data=None, measurments=None)
phalp/trackers/PHALP.py:274
↓ 1 callersMethodget_frames_from_source
(self)
phalp/utils/io.py:24
↓ 1 callersMethodget_human_features
(self, image, seg_mask, bbox, bbox_pad, score, frame_name, cls_id, t_, measurments, gt=1, ann=None, extra_data
phalp/trackers/PHALP.py:381
↓ 1 callersFunctionget_light_poses
(n_lights=5, elevation=np.pi / 3, dist=12)
phalp/visualize/py_renderer.py:9
↓ 1 callersMethodget_list_of_shots
(self, list_of_frames)
phalp/trackers/PHALP.py:605
↓ 1 callersMethodget_pose_distance
Compute pair-wise squared l2 distances between points in `track_pose` and `detect_pose`.
phalp/trackers/PHALP.py:588
↓ 1 callersFunctionget_progress_bar
(sequence, total=None, description=None, disable=False)
phalp/utils/utils.py:21
↓ 1 callersFunctionget_tracks
(phalp_tracks)
phalp/utils/utils_tracks.py:6
↓ 1 callersMethodget_uv_distance
(self, t_uv, d_uv)
phalp/trackers/PHALP.py:568
↓ 1 callersMethodis_deleted
Returns True if this track is dead and should be deleted.
phalp/external/deep_sort_/track.py:130
↓ 1 callersFunctionlinear_assignment
(cost_matrix)
phalp/external/deep_sort_/linear_assignment.py:10
↓ 1 callersMethodload_weights
(self, path)
phalp/models/hmar/hmr.py:22
↓ 1 callersFunctionmain
Main function for running the PHALP tracker.
scripts/demo_phalp.py:24
↓ 1 callersFunctionmain
Main function for running the PHALP tracker.
scripts/demo.py:177
↓ 1 callersFunctionmake_rotation
(rx=0, ry=0, rz=0, order="xyz")
phalp/visualize/py_renderer.py:23
↓ 1 callersFunctionmake_translation
(t)
phalp/visualize/py_renderer.py:20
↓ 1 callersMethodmark_missed
Mark this track as missed (no association at the current time step).
phalp/external/deep_sort_/track.py:113
↓ 1 callersFunctionmin_cost_matching
( distance_metric, max_distance, tracks, detections, track_indices=None, detection_indices=Non
phalp/external/deep_sort_/linear_assignment.py:27
↓ 1 callersFunctionobj2nmr_uvmap
Converts obj uv_map to NMR uv_map (F x T x T x 2), where tex_size (T) is the sample rate on each face.
phalp/utils/utils.py:224
↓ 1 callersMethodpartial_fit
Update the distance metric with new data. Parameters ---------- features : ndarray An NxM matrix of N features of
phalp/external/deep_sort_/nn_matching.py:165
↓ 1 callersFunctionpose_camera_vector_to_smpl
(pose_camera_vector)
phalp/utils/utils.py:105
↓ 1 callersFunctionpositionalencoding1d
:param d_model: dimension of the model :param length: length of positions :return: length*d_model position matrix
phalp/models/predictor/pose_transformer_v2.py:11
↓ 1 callersMethodpost_process
(self, final_visuals_dic, save_fast_tracks=False, video_pkl_name="")
phalp/visualize/postprocessor.py:26
↓ 1 callersMethodpredict_next
encoder takes keys : pose_shape (bs, self.cfg.frame_length, 229) has_detection (bs, self.cfg.frame_length, 1)
phalp/models/predictor/pose_transformer_v2.py:370
↓ 1 callersMethodpredict_with_bbox
(self, original_image, inst)
phalp/utils/utils_detectron2.py:219
↓ 1 callersFunctionprocess_image
(img, center, scale, output_size=256)
phalp/utils/utils_dataset.py:6
↓ 1 callersFunctionprocess_mask
(img, center, scale, output_size=256)
phalp/utils/utils_dataset.py:17
↓ 1 callersFunctionrect_with_opacity
(image, top_left, bottom_right, fill_color, fill_opacity)
phalp/visualize/visualizer.py:18
↓ 1 callersMethodrender_single_frame
(self, pred_smpl_params, pred_cam_t, color, img_size = 256, image=None, use_image=False)
phalp/visualize/visualizer.py:59
↓ 1 callersFunctionresnet
(pretrained=False, num_layers=50, **kwargs)
phalp/models/backbones/resnet.py:165
↓ 1 callersFunctionresnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
phalp/models/backbones/resnet.py:168
↓ 1 callersFunctionrotx
(theta)
phalp/visualize/py_renderer.py:57
↓ 1 callersFunctionroty
(theta)
phalp/visualize/py_renderer.py:68
↓ 1 callersFunctionrotz
(theta)
phalp/visualize/py_renderer.py:79
↓ 1 callersMethodrun_additional_models
(self, image_frame, pred_bbox, pred_masks, pred_scores, pred_classes, frame_name, t_, measurments, gt_tids, gt
phalp/trackers/PHALP.py:378
↓ 1 callersMethodsetup_deepsort
(self)
phalp/trackers/PHALP.py:116
↓ 1 callersMethodsetup_detectron2
(self)
phalp/trackers/PHALP.py:83
↓ 1 callersMethodsetup_detectron2_with_RPN
(self)
phalp/trackers/PHALP.py:107
↓ 1 callersMethodsetup_hmr
(self)
phalp/trackers/PHALP.py:73
next →1–100 of 200, ranked by callers