MCPcopy Create free account

hub / github.com/GuyTevet/motion-diffusion-model / functions

Functions683 in github.com/GuyTevet/motion-diffusion-model

↓ 1 callersFunctionprint_current_loss
(start_time, niter_state, losses, epoch=None, sub_epoch=None, inner_iter=None, tf_ratio
data_loaders/humanml/utils/utils.py:36
↓ 1 callersFunctionprocess_file
Uniform Skeleton
data_loaders/humanml/scripts/motion_process.py:173
↓ 1 callersMethodprocess_text
(self, sentence)
data_loaders/humanml/data/dataset.py:626
↓ 1 callersFunctionprofile_kv
(scopename)
diffusion/logger.py:294
↓ 1 callersMethodq_mean_variance
Get the distribution q(x_t | x_0). :param x_start: the [N x C x ...] tensor of noiseless inputs. :param t: the number of dif
diffusion/gaussian_diffusion.py:209
↓ 1 callersFunctionqbetween
find the quaternion used to rotate v0 to v1
data_loaders/humanml/common/quaternion.py:389
↓ 1 callersFunctionqpow
q0 : tensor of quaternions t: tensor of powers
data_loaders/humanml/common/quaternion.py:346
↓ 1 callersFunctionquaternion_invert
Given a quaternion representing rotation, get the quaternion representing its inverse. Args: quaternion: Quaternions as tensor o
utils/rotation_conversions.py:379
↓ 1 callersFunctionquaternion_to_axis_angle
Convert rotations given as quaternions to axis/angle. Args: quaternions: quaternions with real part first, as tensor of
utils/rotation_conversions.py:482
↓ 1 callersFunctionquaternion_to_matrix_np
(quaternions)
data_loaders/humanml/common/quaternion.py:305
↓ 1 callersFunctionrandom_quaternions
Generate random quaternions representing rotations, i.e. versors with nonnegative real part. Args: n: Number of quaternions in a
utils/rotation_conversions.py:260
↓ 1 callersFunctionrandom_rotations
Generate random rotations as 3x3 rotation matrices. Args: n: Number of rotation matrices in a batch to return. dtype: Type t
utils/rotation_conversions.py:284
↓ 1 callersFunctionrecover_root_rot_heading_ang
Get Forward Direction
data_loaders/humanml/scripts/motion_process.py:388
↓ 1 callersFunctionreparameterize
(mu, logvar)
data_loaders/humanml/networks/modules.py:35
↓ 1 callersMethodreset_max_len
(self, length)
data_loaders/humanml/data/dataset.py:303
↓ 1 callersMethodreset_max_len
(self, length)
data_loaders/humanml/data/dataset.py:458
↓ 1 callersMethodresume
(self, model_dir)
data_loaders/humanml/networks/trainers.py:108
↓ 1 callersMethodresume
(self, model_dir)
data_loaders/humanml/networks/trainers.py:760
↓ 1 callersMethodresume
(self, model_dir)
data_loaders/humanml/networks/trainers.py:893
↓ 1 callersFunctionrotation_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
utils/rotation_conversions.py:513
↓ 1 callersMethodrun_loop
(self)
train/training_loop.py:207
↓ 1 callersMethodrun_step
(self, batch, cond)
train/training_loop.py:292
↓ 1 callersMethodsample
Importance-sample timesteps for a batch. :param batch_size: the number of timesteps. :param device: the torch device to save
diffusion/resample.py:42
↓ 1 callersFunctionsample_goal
(batch_size, device, force_joints=None)
data_loaders/humanml/scripts/motion_process.py:632
↓ 1 callersFunctionsave_metrics
(path, metrics)
eval/a2m/tools.py:11
↓ 1 callersMethodsave_npy
(self, save_path)
visualize/vis_utils.py:56
↓ 1 callersMethodsave_obj
(self, save_path, frame_i)
visualize/vis_utils.py:50
↓ 1 callersMethodset_comm
(self, comm)
diffusion/logger.py:385
↓ 1 callersMethodset_level
(self, level)
diffusion/logger.py:382
↓ 1 callersMethodset_offset
(self, offsets)
data_loaders/humanml/common/skeleton.py:23
↓ 1 callersFunctionspace_timesteps
Create a list of timesteps to use from an original diffusion process, given the number of timesteps we want to take from equally-sized portio
diffusion/respace.py:9
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
utils/rotation_conversions.py:326
↓ 1 callersFunctionstate_dict_to_master_params
(model, state_dict, use_fp16)
diffusion/fp16_util.py:116
↓ 1 callersMethodstep
(opt_list)
data_loaders/humanml/networks/trainers.py:50
↓ 1 callersMethodstep
(opt_list)
data_loaders/humanml/networks/trainers.py:786
↓ 1 callersMethodstep
(opt_list)
data_loaders/humanml/networks/trainers.py:927
↓ 1 callersFunctiont2m_collate
(batch, target_batch_size)
data_loaders/tensors.py:67
↓ 1 callersFunctiont2m_prefix_collate
(batch, pred_len)
data_loaders/tensors.py:82
↓ 1 callersMethodtarget_cond_modifier
(self, cond, motion)
train/training_loop.py:196
↓ 1 callersFunctiontest
()
eval/a2m/action2motion/models.py:83
↓ 1 callersFunctiontime_since
(since, percent)
data_loaders/humanml/utils/utils.py:44
↓ 1 callersMethodto
(self, device)
data_loaders/humanml/networks/trainers.py:931
↓ 1 callersFunctiontrain_args
()
utils/parser_util.py:279
↓ 1 callersMethodtrain_mode
(self)
data_loaders/humanml/networks/trainers.py:527
↓ 1 callersMethodtrain_mode
(self)
data_loaders/humanml/networks/trainers.py:936
↓ 1 callersFunctionuniform_skeleton
(positions, target_offset)
data_loaders/humanml/scripts/motion_process.py:17
↓ 1 callersMethodupdate
(self)
data_loaders/humanml/networks/trainers.py:69
↓ 1 callersMethodupdate
(self)
data_loaders/humanml/networks/trainers.py:988
↓ 1 callersMethodupdate_average_model
(self)
train/training_loop.py:299
↓ 1 callersMethodupdate_with_all_losses
Update the reweighting using losses from a model. Sub-classes should override this method to update the reweighting using lo
diffusion/resample.py:107
↓ 1 callersMethodupdate_with_local_losses
Update the reweighting using losses from a model. Call this method from each rank with a batch of timesteps and the correspo
diffusion/resample.py:71
↓ 1 callersMethodweights
Get a numpy array of weights, one per diffusion step. The weights needn't be normalized, but must be positive.
diffusion/resample.py:35
↓ 1 callersMethodwritekvs
(self, kvs)
diffusion/logger.py:27
↓ 1 callersMethodwriteseq
(self, seq)
diffusion/logger.py:32
↓ 1 callersFunctionzero_grad
(model_params)
diffusion/fp16_util.py:133
↓ 1 callersMethodzero_grad
(opt_list)
data_loaders/humanml/networks/trainers.py:40
↓ 1 callersMethodzero_grad
(opt_list)
data_loaders/humanml/networks/trainers.py:776
↓ 1 callersMethodzero_grad
(opt_list)
data_loaders/humanml/networks/trainers.py:917
Method__call__
(self, x, ts, **kwargs)
diffusion/respace.py:125
Method__call__
(self, x, mask, pose_rep, translation, glob, jointstype, vertstrans, betas=None, beta=0,
model/rotation2xyz.py:17
Method__call__
Perform body fitting. Input: init_pose: SMPL pose estimate init_betas: SMPL betas estimate init_cam_t: Cam
visualize/joints2smpl/src/smplify.py:95
Method__getattr__
(self, name, default=None)
diffusion/respace.py:132
Method__getitem__
(self, index)
data_loaders/a2m/dataset.py:76
Method__getitem__
(self, item)
data_loaders/humanml/utils/word_vectorizer.py:64
Method__getitem__
(self, item)
data_loaders/humanml/data/dataset.py:138
Method__getitem__
(self, item)
data_loaders/humanml/data/dataset.py:315
Method__getitem__
(self, item)
data_loaders/humanml/data/dataset.py:470
Method__getitem__
(self, item)
data_loaders/humanml/data/dataset.py:594
Method__getitem__
(self, item)
data_loaders/humanml/data/dataset.py:648
Method__getitem__
(self, item)
data_loaders/humanml/data/dataset.py:741
Method__getitem__
(self, item)
data_loaders/humanml/data/dataset.py:814
Method__getitem__
(self, item)
data_loaders/humanml/motion_loaders/comp_v6_model_dataset.py:128
Method__getitem__
(self, item)
data_loaders/humanml/motion_loaders/comp_v6_model_dataset.py:264
Method__getitem__
(self, item)
data_loaders/humanml/motion_loaders/model_motion_loaders.py:23
Method__init__
( self, *, model, use_fp16=False, fp16_scale_growth=1e-3, init
diffusion/fp16_util.py:149
Method__init__
(self, diffusion)
diffusion/resample.py:62
Method__init__
(self, diffusion, history_per_term=10, uniform_prob=0.001)
diffusion/resample.py:125
Method__init__
(self, filename_or_file)
diffusion/logger.py:37
Method__init__
(self, filename)
diffusion/logger.py:99
Method__init__
(self, filename)
diffusion/logger.py:114
Method__init__
(self, dir)
diffusion/logger.py:155
Method__init__
(self, dir, output_formats, comm=None)
diffusion/logger.py:337
Method__init__
( self, *, betas, model_mean_type, model_var_type, loss_type,
diffusion/gaussian_diffusion.py:122
Method__init__
(self, use_timesteps, **kwargs)
diffusion/respace.py:74
Method__init__
(self, num_rows)
utils/misc.py:6
Method__init__
(self, model)
utils/sampler_util.py:12
Method__init__
(self, model)
model/cfg_sampler.py:10
Method__init__
(self, d_model, dropout=0.1, max_len=5000)
model/mdm.py:297
Method__init__
(self, latent_dim, sequence_pos_encoder)
model/mdm.py:317
Method__init__
(self, data_rep, input_feats, latent_dim)
model/mdm.py:334
Method__init__
(self, data_rep, input_feats, latent_dim, njoints, nfeats)
model/mdm.py:361
Method__init__
(self, num_actions, latent_dim)
model/mdm.py:390
Method__init__
(self, all_goal_joint_names, latent_dim, num_layers=1)
model/mdm.py:400
Method__init__
(self, all_goal_joint_names, latent_dim, num_layers=1)
model/mdm.py:423
Method__init__
(self, all_goal_joint_names, latent_dim)
model/mdm.py:450
Method__init__
(self, model_path=SMPL_MODEL_PATH, **kwargs)
model/smpl.py:67
Method__init__
(self, device, dataset='amass')
model/rotation2xyz.py:12
Method__init__
(self, modelpath: str)
model/BERT/BERT_encoder.py:13
Method__init__
(self, in_channels, out_channels, kernel_size,
eval/unconstrained/models/stgcn.py:157
Method__init__
(self, layout='openpose', strategy='uniform', kintree_path=
eval/unconstrained/models/stgcnutils/graph.py:26
← previousnext →301–400 of 683, ranked by callers