MCPcopy Create free account

hub / github.com/Xuehao-Gao/GUESS / functions

Functions912 in github.com/Xuehao-Gao/GUESS

Functionmatrix_to_rotation_6d
Converts rotation matrices to 6D rotation representation by Zhou et al. [1] by dropping the last row. Note that 6D representation is not uniq
mld/utils/rotation_conversions.py:536
Functionmatrix_to_rotation_6d
Converts rotation matrices to 6D rotation representation by Zhou et al. [1] by dropping the last row. Note that 6D representation is not uniq
mld/data/a2m/utils/rotation_conversions.py:536
Functionmatrot2axisangle
:param matrots: N*num_joints*9 :return: N*num_joints*3
mld/utils/geometry.py:36
Functionmkdir
(path)
mld/data/humanml/utils/utils.py:12
Functionmld_collate
(batch)
mld/data/utils.py:57
Methodmm_mode
(self, mm_on=True)
mld/data/HumanML3D.py:64
Functionmotion_temporal_filter
(motion, sigma=1)
mld/data/humanml/utils/utils.py:162
Functionnfeats_of
(rottype)
mld/utils/easyconvert.py:4
Methodnjoints
(self)
mld/data/humanml/common/skeleton.py:17
Functionno_prior
(*args, **kwargs)
mld/transforms/joints2rots/prior.py:44
Methodno_weight_decay
(self)
mld/models/architectures/vision_transformer.py:521
Functionno_weight_gradients
()
mld/models/operator/conv2d_gradfix.py:13
Functionnormalize_undigraph
(A)
mld/models/architectures/uestc_stgcn.py:438
Methodoffset
(self)
mld/data/humanml/common/skeleton.py:20
Methodon_load_checkpoint
(self, checkpoint)
mld/models/modeltype/base.py:106
Methodon_save_checkpoint
(self, checkpoint)
mld/models/modeltype/base.py:96
Methodon_train_end
(self, trainer: Trainer, pl_module: LightningModule, **kwargs)
mld/callback/progress.py:21
Methodon_train_epoch_end
(self, trainer: Trainer, pl_module: LightningModule,
mld/callback/progress.py:30
Methodon_train_start
(self, trainer: Trainer, pl_module: LightningModule, **kwargs)
mld/callback/progress.py:17
Methodon_validation_epoch_end
(self, trainer: Trainer, pl_module: LightningModule, **kwargs)
mld/callback/progress.py:25
Methodparents
(self)
mld/data/humanml/common/skeleton.py:29
Methodparse_action
(self, path, return_int=True)
mld/data/a2m/dataset.py:78
Functionparse_args
(self, args=None, namespace=None)
mld/launch/blender.py:12
Functionplane_mat
()
mld/render/blender/materials.py:104
Functionplane_mat_uni
()
mld/render/blender/materials.py:123
Functionplot_loss_curve
(losses, save_path, intervals=500)
mld/data/humanml/utils/utils.py:136
Methodpredict_dataloader
(self)
mld/data/base.py:76
Methodpredict_step
(self, batch, batch_idx)
mld/models/modeltype/base.py:39
Functionprepare_vertices
(vertices, canonicalize=True)
mld/render/blender/vertices.py:4
Functionprint_current_loss
(start_time, niter_state, losses, epoch=None, sub_epoch=None, inner_iter=None, tf_ratio
mld/data/humanml/utils/utils.py:36
Functionprint_current_loss_decomp
(start_time, niter_state, total_niters, losses, epoch=None, inner_iter=None)
mld/data/humanml/utils/utils.py:64
Functionqeuler_np
(q, order, epsilon=0, use_gpu=False)
mld/data/humanml/common/quaternion.py:140
Functionqslerp
q0: starting quaternion q1: ending quaternion t: array of points along the way Returns: Tensor of Slerps: t.shape + q0.shape
mld/data/humanml/common/quaternion.py:369
Functionquaternion_apply
Apply the rotation given by a quaternion to a 3D point. Usual torch rules for broadcasting apply. Args: quaternion: Tensor of qu
mld/tools/geometry.py:409
Functionquaternion_apply
Apply the rotation given by a quaternion to a 3D point. Usual torch rules for broadcasting apply. Args: quaternion: Tensor of qu
mld/utils/rotation_conversions.py:394
Functionquaternion_apply
Apply the rotation given by a quaternion to a 3D point. Usual torch rules for broadcasting apply. Args: quaternion: Tensor of qu
mld/data/a2m/utils/rotation_conversions.py:394
Functionquaternion_multiply
Multiply two quaternions representing rotations, returning the quaternion representing their composition, i.e. the versor with nonnegative re
mld/tools/geometry.py:376
Functionquaternion_multiply
Multiply two quaternions representing rotations, returning the quaternion representing their composition, i.e. the versor with nonnegative re
mld/utils/rotation_conversions.py:361
Functionquaternion_multiply
Multiply two quaternions representing rotations, returning the quaternion representing their composition, i.e. the versor with nonnegative re
mld/data/a2m/utils/rotation_conversions.py:361
Functionrandom_rotation
Generate a single random 3x3 rotation matrix. Args: dtype: Type to return device: Device of returned tensor. Default: if Non
mld/tools/geometry.py:321
Functionrandom_rotation
Generate a single random 3x3 rotation matrix. Args: dtype: Type to return device: Device of returned tensor. Default: if Non
mld/utils/rotation_conversions.py:306
Functionrandom_rotation
Generate a single random 3x3 rotation matrix. Args: dtype: Type to return device: Device of returned tensor. Default: if Non
mld/data/a2m/utils/rotation_conversions.py:306
Functionrecover_from_rot
(data, joints_num, skeleton)
mld/data/humanml/scripts/motion_process.py:384
Functionrecover_rot
(data)
mld/data/humanml/scripts/motion_process.py:400
Functionrender
(execute_python, npy_path, jointtype, cfg_path)
mld/utils/demo_utils.py:29
Functionrender_animation
(joints: np.ndarray, output: str = "notebook", title: str = "", fps: float = 12.5,
mld/render/anim.py:76
Methodrenorm4t2m
(self, features)
mld/data/HumanML3D.py:54
Methodreset_classifier
(self, num_classes, global_pool='')
mld/models/architectures/vision_transformer.py:527
Methodreset_shuffle
(self)
mld/data/a2m/dataset.py:341
Functionresolve_cfg_path
(cfg: DictConfig)
mld/launch/tools.py:7
Methodrfeats
(self)
mld/transforms/smpl.py:91
Functionrot6d
(x_rotations, pose_rep)
mld/utils/geometry.py:429
Functionrot6d_batch
(x_rotations, pose_rep)
mld/utils/geometry.py:448
Functionrot6d_to_rotmat
(x)
mld/utils/geometry.py:409
Functionrot6d_to_rotmat_spin
Convert 6D rotation representation to 3x3 rotation matrix. Based on Zhou et al., "On the Continuity of Rotation Representations in Neural Networks
mld/utils/geometry.py:387
Functionrot6d_to_rotvec_batch
(pose)
mld/utils/geometry.py:467
Functionrotation_6d_to_matrix
Converts 6D rotation representation by Zhou et al. [1] to rotation matrix using Gram--Schmidt orthogonalisation per Section B of [1]. Arg
mld/tools/geometry.py:527
Functionrotation_6d_to_matrix
Converts 6D rotation representation by Zhou et al. [1] to rotation matrix using Gram--Schmidt orthogonalisation per Section B of [1]. Arg
mld/utils/rotation_conversions.py:512
Functionrotation_6d_to_matrix
Converts 6D rotation representation by Zhou et al. [1] to rotation matrix using Gram--Schmidt orthogonalisation per Section B of [1]. Arg
mld/data/a2m/utils/rotation_conversions.py:512
Functionrotation_matrix_to_angle_axis
This function is borrowed from https://github.com/kornia/kornia Convert 3x4 rotation matrix to Rodrigues vector Args: rotation_
mld/utils/geometry.py:129
Methodrots
(self)
mld/transforms/smpl.py:78
Methodsample_from_distribution
( self, dist, *, fact=None, sample_mean=False, )
mld/models/modeltype/mld.py:223
Functionsave_images
(visuals, image_path)
mld/data/humanml/utils/utils.py:92
Functionsave_images_test
(visuals, image_path, from_name, to_name)
mld/data/humanml/utils/utils.py:102
Functionsave_logfile
(log_loss, save_path)
mld/data/humanml/utils/utils.py:27
Methodsetup
(self, stage=None)
mld/data/base.py:59
Methodshuffle
(self)
mld/data/a2m/dataset.py:335
Functionsqrtm
(input)
mld/models/metrics/utils.py:19
Methodtest_epoch_end
(self, outputs)
mld/models/modeltype/base.py:90
Methodtest_step
(self, batch, batch_idx)
mld/models/modeltype/base.py:34
Functionto_numpy
(tensor)
mld/utils/misc.py:4
Functionto_numpy
(tensor)
mld/data/a2m/utils/misc.py:4
Functionto_torch
(ndarray)
mld/utils/misc.py:13
Methodtrain
(self, *args, **kwargs)
mld/transforms/rots2joints/smplh.py:42
Methodtrain_dataloader
(self)
mld/data/base.py:68
Methodtraining_epoch_end
(self, outputs)
mld/models/modeltype/base.py:78
Methodtraining_step
(self, batch, batch_idx)
mld/models/modeltype/base.py:28
Methodunnormalize
(self, features: Tensor)
mld/transforms/rots2joints/base.py:31
Functionupdate
(index)
mld/data/humanml/utils/plot_script.py:91
Functionupdate
(frame)
mld/render/anim.py:118
Methodupdate
(self, jts_text: Tensor, jts_ref: Tensor, lengths: List[int])
mld/models/metrics/compute.py:102
Methodupdate
(self, jts_text_: List[Tensor], jts_ref_: List[Tensor], lengths: List[List[int]])
mld/models/metrics/compute_worst.py:12
Methodupdate
( self, text_embeddings: Tensor, recmotion_embeddings: Tensor, gtmotion_embedd
mld/models/metrics/tm2t.py:158
Methodupdate
(self, jts_text_: List[Tensor], jts_ref_: List[Tensor], lengths: List[List[int]])
mld/models/metrics/compute_best.py:12
Methodupdate
( self, gtmotion_embeddings: Tensor, lengths: List[int], recmotion_embeddings=
mld/models/metrics/uncond.py:102
Methodupdate
(self, joints_rst: Tensor, joints_ref: Tensor, lengths: List[int])
mld/models/metrics/mr.py:73
Methodupdate
(self, f_text=None, f_motion=None, f_ref=None, lat
mld/models/losses/temos.py:107
Methodupdate
(self, rs_set, dist_ref)
mld/models/losses/actor.py:59
Methodupdate
(self, rs_set, rst_flag = False)
mld/models/losses/mld.py:108
Methodupdate
(self, rs_set, dist_ref)
mld/models/losses/tmost.py:93
Methodupdate_parameters
(self, parameters)
mld/data/a2m/dataset.py:329
Methodval_dataloader
(self)
mld/data/base.py:88
Methodvalidation_epoch_end
(self, outputs)
mld/models/modeltype/base.py:81
Methodvalidation_step
(self, batch, batch_idx)
mld/models/modeltype/base.py:31
Functionvit_base_patch16_224
(pretrained=False, strict=True, **kwargs)
mld/models/architectures/vision_transformer.py:593
Functionvit_base_patch16_384
(pretrained=False, strict=True, **kwargs)
mld/models/architectures/vision_transformer.py:614
Functionvit_base_patch32_384
(pretrained=False, strict=True, **kwargs)
mld/models/architectures/vision_transformer.py:635
Functionvit_base_resnet50_224_in21k
R50+ViT-B/16 hybrid model from original paper (https://arxiv.org/abs/2010.11929). ImageNet-21k weights @ 224x224, source https://github.com/googl
mld/models/architectures/vision_transformer.py:741
Functionvit_custom_ghostnet_224_in21k
Hybrid model with a R50 and a Vit of custom layers .
mld/models/architectures/vision_transformer.py:853
Functionvit_custom_hrnet48_224_in21k
Hybrid model with a R50 and a Vit of custom layers .
mld/models/architectures/vision_transformer.py:889
← previousnext →801–900 of 912, ranked by callers