MCPcopy Create free account

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

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

Functioncollate_fn
(batch)
data_loaders/humanml/motion_loaders/model_motion_loaders.py:9
Functioncompose_and_save_img
(img_list, save_dir, img_name, col=4, row=1, img_size=(256, 200))
data_loaders/humanml/utils/utils.py:112
Functioncompose_gif_img_list
(img_list, fp_out, duration)
data_loaders/humanml/utils/utils.py:86
Methodcompute_loss
(self, batch)
eval/unconstrained/models/stgcn.py:125
Methodcompute_loss
(self, batch)
eval/a2m/recognition/models/stgcn.py:123
Methodcondition_mean
(self, cond_fn, *args, **kwargs)
diffusion/respace.py:100
Methodcondition_score
(self, cond_fn, *args, **kwargs)
diffusion/respace.py:103
Functionconv_nd
Create a 1D, 2D, or 3D convolution module.
diffusion/nn.py:23
Functionconvert_module_to_f16
Convert primitive modules to float16.
diffusion/fp16_util.py:15
Functionconvert_module_to_f32
Convert primitive modules to float32, undoing convert_module_to_f16().
diffusion/fp16_util.py:25
Functionconvert_x_to_rot6d
(x, pose_rep)
eval/a2m/stgcn_eval.py:18
Functioncreate_prior
(prior_type, **kwargs)
visualize/joints2smpl/src/prior.py:35
Methodddim_reverse_sample
Sample x_{t+1} from the model using DDIM reverse ODE.
diffusion/gaussian_diffusion.py:838
Methodddim_sample
Sample x_{t-1} from the model using DDIM. Same usage as p_sample().
diffusion/gaussian_diffusion.py:729
Methodddim_sample_loop
Generate samples from the model using DDIM. Same usage as p_sample_loop().
diffusion/gaussian_diffusion.py:876
Methodddim_sample_with_grad
Sample x_{t-1} from the model using DDIM. Same usage as p_sample().
diffusion/gaussian_diffusion.py:781
Functiondebug
(*args)
diffusion/logger.py:254
Functiondecorator_with_name
(func)
diffusion/logger.py:310
Methoddel_clip
(state_dict)
train/training_loop.py:404
Functiondev
Get the device to use for torch.distributed.
utils/dist_util.py:44
Functiondiff_l2
(a, b)
utils/loss_util.py:10
Functiondumpkvs
Write all of the diagnostics from the current iteration
diffusion/logger.py:236
Functionerror
(*args)
diffusion/logger.py:266
Functioneuler_angles_to_matrix
Convert rotations given as Euler angles in radians to rotation matrices. Args: euler_angles: Euler angles in radians as tensor of sh
utils/rotation_conversions.py:151
Functioneuler_to_quaternion
Convert Euler angles to quaternions.
data_loaders/humanml/common/quaternion.py:235
Functionevaluate
(args, model, diffusion, data)
eval/eval_humanact12_uestc.py:18
Functionevaluate
(args, model, diffusion, data)
eval/a2m/gru_eval.py:55
Functionexpmap_to_quaternion
Convert axis-angle rotations (aka exponential maps) to quaternions. Stable formula from "Practical Parameterization of Rotations Using the Ex
data_loaders/humanml/common/quaternion.py:216
Functionextract_features
(positions, feet_thre, n_raw_offsets, kinematic_chain, face_joint_indx, fid_r, fid_l)
data_loaders/humanml/scripts/motion_process.py:43
Methodfc_loss_rot_repr
(self, gt_xyz, pred_xyz, mask)
diffusion/gaussian_diffusion.py:1361
Methodfoot_contact_loss_humanml3d
(self, target, model_output)
diffusion/gaussian_diffusion.py:1424
Methodforward
(self, x)
diffusion/nn.py:19
Methodforward
(ctx, run_function, length, *args)
diffusion/nn.py:151
Methodforward
(self, x)
utils/misc.py:11
Methodforward
(self, x, timesteps, y=None)
utils/sampler_util.py:27
Methodforward
(self, x, timesteps, y=None)
model/cfg_sampler.py:25
Methodforward
x: [batch_size, njoints, nfeats, max_frames], denoted x_t in the paper timesteps: [batch_size] (int)
model/mdm.py:189
Methodforward
(self, x)
model/mdm.py:310
Methodforward
(self, timesteps)
model/mdm.py:329
Methodforward
(self, x)
model/mdm.py:343
Methodforward
(self, output)
model/mdm.py:372
Methodforward
(self, input)
model/mdm.py:394
Methodforward
(self, input, target_joint_names, target_heading)
model/mdm.py:410
Methodforward
(self, input, target_joint_names, target_heading)
model/mdm.py:437
Methodforward
(self, input, target_joint_names, target_heading)
model/mdm.py:467
Methodforward
(self, *args, **kwargs)
model/smpl.py:86
Methodforward
(self, texts)
model/BERT/BERT_encoder.py:27
Methodforward
(self, batch)
eval/unconstrained/models/stgcn.py:77
Methodforward
(self, x, A)
eval/unconstrained/models/stgcn.py:205
Methodforward
(self, batch)
eval/a2m/recognition/models/stgcn.py:75
Methodforward
(self, x, A)
eval/a2m/recognition/models/stgcn.py:203
Methodforward
(self, x, A)
eval/a2m/recognition/models/stgcnutils/tgcn.py:55
Methodforward
(self, motion_sequence, lengths=None, hidden_unit=None)
eval/a2m/action2motion/models.py:20
Methodforward
(self, motion_sequence, lengths=None, hidden_unit=None)
eval/a2m/action2motion/models.py:45
Methodforward
Returns the angle prior loss for the given pose Args: pose: (Bx[23 + 1] * 3) torch tensor with the axis-angle repres
visualize/joints2smpl/src/prior.py:72
Methodforward
(self, module_input, *args)
visualize/joints2smpl/src/prior.py:95
Methodforward
(self, pose, betas)
visualize/joints2smpl/src/prior.py:226
Methodforward
(self, output1, output2, label)
data_loaders/humanml/networks/modules.py:20
Methodforward
(self, pos)
data_loaders/humanml/networks/modules.py:75
Methodforward
(self, inputs)
data_loaders/humanml/networks/modules.py:94
Methodforward
(self, inputs)
data_loaders/humanml/networks/modules.py:117
Methodforward
(self, inputs, last_pred, hidden, p)
data_loaders/humanml/networks/modules.py:172
Methodforward
(self, inputs, hidden, p)
data_loaders/humanml/networks/modules.py:218
Methodforward
query (batch, query_dim) key (batch, seq_len, key_dim)
data_loaders/humanml/networks/modules.py:246
Methodforward
(self, word_embs, pos_onehot, cap_lens)
data_loaders/humanml/networks/modules.py:285
Methodforward
(self, word_embs, pos_onehot, cap_lens)
data_loaders/humanml/networks/modules.py:335
Methodforward
(self, inputs, m_lens)
data_loaders/humanml/networks/modules.py:373
Methodforward
(self, word_embs, pos_onehot, cap_lens)
data_loaders/humanml/networks/modules.py:423
Methodforward_kinematics
(self, quat_params, root_pos, skel_joints=None, do_root_R=True)
data_loaders/humanml/common/skeleton.py:107
Methodforward_kinematics_cont6d_np
(self, cont6d_params, root_pos, skel_joints=None, do_root_R=True)
data_loaders/humanml/common/skeleton.py:152
Functionfreeze_joints
(x, joints_to_freeze)
utils/misc.py:69
Functionfunc_wrapper
(*args, **kwargs)
diffusion/logger.py:311
Functionget_blob_logdir
()
train/training_loop.py:462
Methodget_co_embeddings
(self, word_embs, pos_ohot, cap_lens, motions, m_lens)
data_loaders/humanml/networks/evaluator_wrapper.py:59
Functionget_dataset_motion_loader
(opt_path, batch_size, device)
data_loaders/humanml/motion_loaders/dataset_motion_loader.py:8
Functionget_dir
Get directory that log files are being written to. will be None if there is no output directory (i.e., if you didn't call start)
diffusion/logger.py:281
Methodget_init_hidden
(self, latent)
data_loaders/humanml/networks/modules.py:167
Methodget_mean
Returns the mean of the mixture
visualize/joints2smpl/src/prior.py:175
Methodget_mean_length_label
(self, label)
data_loaders/a2m/dataset.py:208
Methodget_model_output
(x, t)
diffusion/gaussian_diffusion.py:1013
Methodget_motion_embeddings
(self, motions, m_lens)
data_loaders/humanml/networks/evaluator_wrapper.py:80
Functionget_motion_loader
(opt_path, batch_size, ground_truth_dataset, mm_num_samples, mm_num_repeats, device)
data_loaders/humanml/motion_loaders/model_motion_loaders.py:50
Functionget_named_beta_schedule
Get a pre-defined beta schedule for the given name. The beta schedule library consists of beta schedules which remain similar in the lim
diffusion/gaussian_diffusion.py:22
Functionget_padding_mask
(batch_size, seq_len, cap_lens)
data_loaders/humanml/networks/modules.py:54
Functionget_quaternion
(positions)
data_loaders/humanml/scripts/motion_process.py:80
Methodget_rotation
(view)
data_loaders/a2m/uestc.py:123
Functiongetkvs
()
diffusion/logger.py:243
Functioninfo
(*args)
diffusion/logger.py:258
Functioninit_weight
(m)
data_loaders/humanml/networks/modules.py:27
Methodinv_transform
(self, data)
data_loaders/humanml/data/dataset.py:132
Methodinv_transform
(self, data)
data_loaders/humanml/data/dataset.py:309
Methodinv_transform
(self, data)
data_loaders/humanml/data/dataset.py:464
Methodinv_transform
(self, data)
data_loaders/humanml/data/dataset.py:588
Methodinv_transform
(self, data)
data_loaders/humanml/data/dataset.py:735
Functionis_substr_in_list
(substr, list_of_strs)
sample/generate.py:314
Methodis_vb
(self)
diffusion/gaussian_diffusion.py:101
Methodkinematic_tree
(self)
data_loaders/humanml/common/skeleton.py:26
Methodkl_criterion_unit
(mu, logvar)
data_loaders/humanml/networks/trainers.py:271
Functionlerp
(p0, p1, t)
data_loaders/humanml/common/quaternion.py:414
Functionlinear
Create a linear module.
diffusion/nn.py:36
← previousnext →501–600 of 683, ranked by callers