MCPcopy Create free account

hub / github.com/HongwenZhang/PyMAF / functions

Functions303 in github.com/HongwenZhang/PyMAF

↓ 1 callersFunctionget_dir
(src_point, rot_rad)
utils/transforms.py:69
↓ 1 callersFunctionget_flame_faces
()
models/smpl.py:628
↓ 1 callersFunctionget_flame_tpose
()
models/smpl.py:689
↓ 1 callersFunctionget_keypoints
Get the COCO keypoints and their left/right flip coorespondence map.
utils/keypoints.py:18
↓ 1 callersMethodget_latest_checkpoint
Get filename of latest checkpoint if it exists.
utils/saver.py:90
↓ 1 callersFunctionget_mano_tpose
()
models/smpl.py:682
↓ 1 callersMethodget_parts
Process renderer part image to get body part indices.
utils/part_utils.py:27
↓ 1 callersFunctionget_resnet_encoder
(cfg, is_train=True, global_mode=False, **kwargs)
models/pose_resnet.py:287
↓ 1 callersFunctionget_smpl_tpose_joint
()
models/smpl.py:663
↓ 1 callersFunctionget_smplx_faces
()
models/smpl.py:615
↓ 1 callersFunctionget_smplx_tpose_joint
()
models/smpl.py:676
↓ 1 callersMethodget_tpose
(self, betas=None, gender=None)
models/smpl.py:487
↓ 1 callersFunctionget_transform
Generate transformation matrix.
utils/imutils.py:12
↓ 1 callersFunctionimages_to_video
(img_folder, output_vid_file)
utils/demo_utils.py:148
↓ 1 callersMethodinit_fn
(self)
core/base_trainer.py:71
↓ 1 callersFunctioniuv_map2img
(U_uv, V_uv, Index_UV, AnnIndex=None, uv_rois=None, ind_mapping=None)
utils/uv_vis.py:13
↓ 1 callersFunctioniuv_map2img
(U_uv, V_uv, Index_UV, AnnIndex=None, uv_rois=None, ind_mapping=None)
utils/iuvmap.py:5
↓ 1 callersMethodj3d_processing
Process gt 3D keypoints and apply all augmentation transforms.
datasets/base_dataset.py:191
↓ 1 callersMethodkeypoint_3d_loss
Compute 3D keypoint loss for the examples that 3D keypoint annotations are available. The loss is weighted by the confidence.
core/trainer.py:170
↓ 1 callersMethodkeypoint_loss
Compute 2D reprojection loss on the keypoints. The loss is weighted by the confidence. The available keypoints are different for each
core/trainer.py:159
↓ 1 callersFunctionkp_connections
(keypoints)
utils/vis.py:72
↓ 1 callersFunctionkp_to_bbox_param
Finds the bounding box parameters from the 2D keypoints. Args: kp (Kx3): 2D Keypoints. vis_thresh (float): Threshold for vis
utils/smooth_bbox.py:36
↓ 1 callersMethodload_checkpoint
Load a checkpoint.
utils/saver.py:67
↓ 1 callersMethodload_pretrained
Load a pretrained checkpoint. This is different from resuming training using --resume.
core/base_trainer.py:48
↓ 1 callersMethodmake_hand_regressor
(self)
models/smpl.py:461
↓ 1 callersFunctionnormalize_2d_kp
(kp_2d, crop_size=224, inv=False)
utils/imutils.py:167
↓ 1 callersMethodpose_processing
Process SMPL theta parameters and apply all augmentation transforms.
datasets/base_dataset.py:207
↓ 1 callersFunctionprepare_env
(args)
utils/train_utils.py:16
↓ 1 callersFunctionprepare_rendering_results
(vibe_results, nframes)
utils/demo_utils.py:183
↓ 1 callersFunctionprint_args
()
utils/train_utils.py:12
↓ 1 callersFunctionprocess_image
Read image, do preprocessing and possibly crop it according to the bounding box. If there are bounding box annotations, use them to crop the image
demo.py:54
↓ 1 callersFunctionquat_to_rotmat
Convert quaternion coefficients to rotation matrix. Args: quat: size = [B, 4] 4 <===>(w, x, y, z) Returns: Rotation matrix cor
utils/geometry.py:25
↓ 1 callersFunctionquaternion_to_angle_axis
This function is borrowed from https://github.com/kornia/kornia Convert quaternion vector to angle axis of rotation. Adapted from ceres
utils/geometry.py:78
↓ 1 callersFunctionread_posetrack_keypoints
(output_folder)
utils/pose_tracker.py:56
↓ 1 callersFunctionreconstruction_error
Do Procrustes alignment and compute reconstruction error.
utils/pose_utils.py:67
↓ 1 callersMethodreduce_dim
Dimension reduction by multi-layer perceptrons :param feature: list of [B, C_s, N] point-wise features before dimension reduction
models/maf_extractor.py:73
↓ 1 callersMethodrgb_processing
Process rgb image and do augmentation.
datasets/base_dataset.py:162
↓ 1 callersFunctionrot_aa
Rotate axis angle parameters.
utils/imutils.py:120
↓ 1 callersFunctionrotation_matrix_to_quaternion
This function is borrowed from https://github.com/kornia/kornia Convert 3x4 rotation matrix to 4d quaternion vector This algorithm is b
utils/geometry.py:130
↓ 1 callersFunctionrun_evaluation
Run evaluation on the datasets and metrics we report in the paper.
eval.py:57
↓ 1 callersFunctionrun_evaluation
Run evaluation on the datasets and metrics we report in the paper.
eval_coco.py:49
↓ 1 callersFunctionrun_image_demo
(args)
demo.py:75
↓ 1 callersFunctionrun_openpose
https://github.com/soulslicer/STAF/tree/staf Don't forget to switch to 'staf' branch
utils/pose_tracker.py:25
↓ 1 callersFunctionrun_posetracker
(video_file, staf_folder, posetrack_output_folder='/home/jd/tmp', display=False)
utils/pose_tracker.py:85
↓ 1 callersFunctionrun_video_demo
(args)
demo.py:155
↓ 1 callersMethodsave_dump
Store all argument values to a json file. The default location is logs/expname/args.json.
core/train_options.py:60
↓ 1 callersFunctionset_axes_equal
Make axes of 3D plot have equal scale so that spheres appear as spheres, cubes as cubes, etc.. This is one possible solution to Matplotlib's
utils/vis.py:581
↓ 1 callersMethodshape_loss
Compute per-vertex loss on the shape for the examples that SMPL annotations are available.
core/trainer.py:189
↓ 1 callersFunctionsmooth_bbox_params
Applies median filtering and then gaussian filtering to bounding box parameters. Args: bbox_params (Nx3): [cx, cy, scale].
utils/smooth_bbox.py:106
↓ 1 callersMethodsmpl_losses
(self, pred_rotmat, pred_betas, gt_pose, gt_betas, has_smpl)
core/trainer.py:198
↓ 1 callersMethodtrain
(self, epoch)
core/base_trainer.py:68
↓ 1 callersMethodtrain_step
(self, input_batch)
core/trainer.py:313
↓ 1 callersFunctiontransform_preds
(coords, center, scale, output_size)
utils/transforms.py:15
↓ 1 callersMethodverts2iuvimg
(self, verts, cam, iwp_mode=True)
utils/renderer.py:568
↓ 1 callersFunctionvideo_to_images
(vid_file, img_folder=None, return_info=False)
utils/demo_utils.py:95
MethodFBC2PointOnSurface
(self, FaceIndex, bc1, bc2, bc3, Vertices)
utils/densepose_methods.py:133
MethodIUV2FBC
(self, I_point, U_point, V_point)
utils/densepose_methods.py:98
FunctionRot_x
Rotate around x-axis by angle Args: category: 'torch' or 'numpy' prepend_dim: prepend an extra dimension Return: Rotation matrix with shape [1,
utils/geometry.py:382
FunctionRot_y
Rotate around y-axis by angle Args: category: 'torch' or 'numpy' prepend_dim: prepend an extra dimension Return: Rotation matrix with shape [1,
utils/geometry.py:357
FunctionRot_z
Rotate around z-axis by angle Args: category: 'torch' or 'numpy' prepend_dim: prepend an extra dimension Return: Rotation matrix with shape [1,
utils/geometry.py:407
Method__call__
(self, image_folder: str)
multi_person_tracker_yolov8.py:19
Method__call__
(self, verts, faces=None, img=np.zeros((224, 224, 3)), cam=np.array([1, 0, 0]), focal_length=
utils/renderer.py:140
Method__call__
Render mesh using OpenDR verts: shape - (V, 3) faces: shape - (F, 3) img: shape - (224, 224, 3), range - [0, 255] (np.uint8)
utils/renderer.py:287
Method__call__
Wrapper function for rendering process.
utils/part_utils.py:37
Method__call__
(self, *args, **kwargs)
models/smpl.py:594
Method__getitem__
Retrieve dictionary entries
core/fits_dict.py:53
Method__getitem__
(self, index)
datasets/base_dataset.py:218
Method__getitem__
(self, idx)
datasets/inference.py:61
Method__getitem__
(self, idx)
datasets/inference.py:95
Method__getitem__
(self, index)
datasets/mixed_dataset.py:40
Method__init__
( self, model_type: str = 'yolov8n.pt', output_format: str = 'dict', )
multi_person_tracker_yolov8.py:10
Method__init__
(self, save_dir, save_steps=1000, overwrite=False)
utils/saver.py:10
Method__init__
(self, scale, translation, znear=pyrender.camera.DEFAULT_Z_
utils/renderer.py:53
Method__init__
(self, resolution=(224, 224), ratio=1)
utils/renderer.py:262
Method__init__
(self, focal_length=5000., orig_size=224, output_size=56, mode='iuv', device=torch.device('cuda'), mesh_type='
utils/renderer.py:433
Method__init__
(self)
utils/densepose_methods.py:15
Method__init__
(self, focal_length=5000., render_res=224)
utils/part_utils.py:12
Method__init__
(self, options)
core/base_trainer.py:18
Method__init__
(self)
core/train_options.py:5
Method__init__
(self, options, train_dataset)
core/fits_dict.py:18
Method__init__
(self, options, dataset, ignore_3d=False, use_augmentation=True, is_train=True)
datasets/base_dataset.py:30
Method__init__
(self, options, dataset, subset, use_augmentation=True, is_train=True)
datasets/coco_keypoint_dataset.py:52
Method__init__
(self, options, dataset, subset, use_augmentation, is_train=True)
datasets/JointsDataset.py:21
Method__init__
(self, image_folder, frames, bboxes=None, joints2d=None, scale=1.0, crop_size=224, pre_load_imgs=None)
datasets/inference.py:29
Method__init__
(self, image_folder)
datasets/inference.py:84
Method__init__
(self, options, **kwargs)
datasets/mixed_dataset.py:11
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
models/hmr.py:21
Method__init__
(self, model='res50', pretrained=True)
models/hmr.py:61
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
models/pose_resnet.py:65
Method__init__
(self, block, layers, cfg, global_mode, **kwargs)
models/pose_resnet.py:105
Method__init__
(self, device=torch.device('cuda'))
models/maf_extractor.py:24
Method__init__
(self, *args, **kwargs)
models/smpl.py:90
Method__init__
(self, *args, **kwargs)
models/smpl.py:143
Method__init__
(self, batch_size=1, use_face_contour=True, all_gender=False, **kwargs)
models/smpl.py:286
Method__init__
(self, *args, **kwargs)
models/smpl.py:529
Method__init__
(self, *args, **kwargs)
models/smpl.py:561
Method__init__
(self, model_type='smpl', *args, **kwargs)
models/smpl.py:581
Method__init__
(self, feat_dim, smpl_mean_params)
models/pymaf_net.py:18
Method__init__
(self, feat_dim=256, final_cov_k=3, part_out_dim=25, with_uv=True)
models/iuv_predictor.py:15
Method__len__
(self)
datasets/base_dataset.py:309
← previousnext →101–200 of 303, ranked by callers