MCPcopy Create free account

hub / github.com/MotrixLab/insactor / functions

Functions459 in github.com/MotrixLab/insactor

Method__init__
(self, latent_dim, text_latent_dim, num_heads,
diffplanner/models/attentions/semantics_modulated.py:11
Method__init__
(self, d_model, max_len=300)
diffplanner/models/rnns/t2m_bigru.py:50
Method__init__
(self, input_size, movement_hidden_size, movement_latent_si
diffplanner/models/rnns/t2m_bigru.py:68
Method__init__
(self, word_size, pos_size, hidden_size, output_size)
diffplanner/models/rnns/t2m_bigru.py:165
Method__init__
(self, input_size, hidden_size, output_size)
diffplanner/models/rnns/t2m_bigru.py:206
Method__init__
(self, input_size, hidden_size, output_size)
diffplanner/models/rnns/t2m_bigru.py:228
Method__init__
(self, reduction='mean', loss_weight=1.0)
diffplanner/models/losses/mse_loss.py:38
Method__init__
(self, margin=3.0)
diffplanner/models/losses/contrastive_loss.py:15
Method__init__
(self)
diffplanner/models/losses/clip_contrastive_loss.py:11
Method__init__
(self, *args, **kwargs)
diffmimic/utils/__init__.py:2
Method__init__
(self, dataset, batch_size=1, shuffle=False, sampler=None, batch_sampler=None,
diffmimic/utils/data.py:22
Method__init__
(self, motion_dir, seq_len=60, subset=None, all=False, resample=False)
diffmimic/utils/data.py:41
Method__init__
(self, motion_dir, seg_info=None)
diffmimic/utils/data.py:113
Method__init__
(self, data_source)
diffmimic/utils/data.py:156
Method__init__
Init. Args: eval_env: Batched environment to run evals on. eval_policy_fn: Function returning the policy from the policy parameters.
diffmimic/brax_lib/acting.py:82
Method__init__
(self, system_config, reward_scaling=1., vel_weight=0., rot_weight=1., ang_weight=1., foot_weight=0., local='n
diffmimic/mimic_envs/humanoid_mimic.py:16
Method__init__
(self, system_config, early_termination, demo_replay_mode, err_threshold, replay_rate, **kwar
diffmimic/mimic_envs/humanoid_mimic_train.py:11
Method__iter__
(self)
diffplanner/datasets/samplers/distributed_sampler.py:21
Method__iter__
(self)
diffmimic/utils/data.py:159
Method__len__
Return the length of current dataset.
diffplanner/datasets/base_dataset.py:74
Method__len__
(self)
diffplanner/datasets/dataset_wrappers.py:41
Method__len__
(self)
diffplanner/models/utils/word_vectorizer.py:61
Method__len__
(self)
diffmimic/utils/data.py:89
Method__len__
(self)
diffmimic/utils/data.py:145
Method__len__
(self)
diffmimic/utils/data.py:163
Method__repr__
(self)
diffplanner/datasets/pipelines/transforms.py:48
Method__repr__
(self)
diffplanner/datasets/pipelines/transforms.py:95
Method__repr__
(self)
diffplanner/datasets/pipelines/compose.py:37
Method__repr__
(self)
diffplanner/datasets/pipelines/formatting.py:46
Method__repr__
(self)
diffplanner/datasets/pipelines/formatting.py:62
Method__repr__
(self)
diffplanner/datasets/pipelines/formatting.py:102
Method__repr__
(self)
diffplanner/datasets/pipelines/formatting.py:133
Methodafter_train_iter
(self, runner)
diffplanner/utils/dist_utils.py:54
Functionallreduce_grads
(params, coalesce=True, bucket_size_mb=-1)
diffplanner/utils/dist_utils.py:34
Functionapply_reduced
(self, act: jp.ndarray, qp_p: QP, qp_c: QP)
diffmimic/mimic_envs/pd_controller.py:15
Methodcalc_bpd_loop
Compute the entire variational lower-bound, measured in bits-per-dim, as well as other related quantities. :param model: the
diffplanner/models/utils/gaussian_diffusion.py:1112
Functioncheck_input_path
Check input folder or file. Args: input_path (str): input folder or file path. allowed_suffix (List[str], optional):
diffplanner/utils/path_utils.py:190
Methodconcat_batch_metrics
(self, batch_metrics)
diffplanner/core/evaluation/evaluators/matching_score_evaluator.py:74
Methodcondition_mean
(self, cond_fn, *args, **kwargs)
diffplanner/models/utils/gaussian_diffusion.py:1272
Methodcondition_score
(self, cond_fn, *args, **kwargs)
diffplanner/models/utils/gaussian_diffusion.py:1275
Functionconvert
(x)
data/humanml3d_converter.py:197
Functionconvert
(x)
data/kitml_converter.py:196
Functionconvert_to_one_hot
This function converts target class indices to one-hot vectors, given the number of classes. Args: targets (Tensor): The ground truth
diffplanner/models/losses/utils.py:93
Methodddim_reverse_sample
Sample x_{t+1} from the model using DDIM reverse ODE.
diffplanner/models/utils/gaussian_diffusion.py:851
Methodencode_text
(self, text, device)
diffplanner/models/transformers/diffusion_transformer.py:183
Methodencoder_text_batch
(self, text, device)
diffplanner/models/transformers/remodiffuse.py:91
Functionenv_step
(carry: Tuple[envs.State, PRNGKey], step_index: int, policy: types.Policy, encoder: types.Pol
diffmimic/brax_lib/agent_diffmimic.py:159
Methodevaluate
Evaluate the results. Args: runner (:obj:`mmcv.Runner`): The underlined training runner. results (list): Output result
diffplanner/core/evaluation/eval_hooks.py:115
Methodevaluate
(self, results)
diffplanner/core/evaluation/evaluators/base_evaluator.py:23
Methodevaluate
(self, results, work_dir)
diffplanner/datasets/base_dataset.py:109
Functionf
(carry, unused_t)
diffmimic/brax_lib/acting.py:66
Methodforward
Forward function. Args: inputs (tuple): Input data. kwargs (dict): Args for ``mmcv.parallel.scatter_g
diffplanner/core/distributed_wrapper.py:101
Methodforward
h: B, T, D emb: B, D
diffplanner/models/utils/stylization_block.py:29
Methodforward
(self, x, emb, **kwargs)
diffplanner/models/transformers/diffusion_transformer.py:71
Methodforward
(self, **kwargs)
diffplanner/models/transformers/diffusion_transformer.py:88
Methodforward
motion: B, T, D
diffplanner/models/transformers/diffusion_transformer.py:218
Methodforward
(self, motion, motion_mask=None, condition=None)
diffplanner/models/transformers/actor.py:80
Methodforward
(self, input, motion_mask=None, condition=None)
diffplanner/models/transformers/actor.py:231
Methodforward
(self, captions, lengths, clip_model, device)
diffplanner/models/transformers/remodiffuse.py:135
Methodforward
(self, text, token=None, device=None)
diffplanner/models/transformers/text_transformer.py:72
Methodforward
(self, x)
diffplanner/models/transformers/position_encoding.py:22
Methodforward
(self, x)
diffplanner/models/transformers/position_encoding.py:33
Methodforward
(self, **kwargs)
diffplanner/models/architectures/diffusion_architecture.py:68
Methodforward
(self, **kwargs)
diffplanner/models/architectures/vae_architecture.py:52
Methodforward
(self, **kwargs)
diffplanner/models/architectures/clip_contrast_architecture.py:31
Methodforward
(self, **kwargs)
diffplanner/models/architectures/contrast_architecture.py:36
Methodforward
(self, **kwargs)
diffplanner/models/architectures/base_architecture.py:99
Methodforward
x: B, T, D
diffplanner/models/attentions/efficient_attention.py:21
Methodforward
x: B, T, D xf: B, N, L
diffplanner/models/attentions/efficient_attention.py:56
Methodforward
x: B, T, D xf: B, N, L
diffplanner/models/attentions/semantics_modulated.py:38
Methodforward
(self, pos)
diffplanner/models/rnns/t2m_bigru.py:61
Methodforward
(self, motion, motion_length, motion_mask)
diffplanner/models/rnns/t2m_bigru.py:90
Methodforward
(self, text, token, device)
diffplanner/models/rnns/t2m_bigru.py:128
Methodforward
(self, word_embs, pos_onehot, cap_lens)
diffplanner/models/rnns/t2m_bigru.py:187
Methodforward
(self, inputs)
diffplanner/models/rnns/t2m_bigru.py:220
Methodforward
(self, inputs, m_lens)
diffplanner/models/rnns/t2m_bigru.py:246
Methodforward
Forward function of loss. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the
diffplanner/models/losses/mse_loss.py:45
Methodforward
(self, output1, output2, label)
diffplanner/models/losses/contrastive_loss.py:19
Methodforward
(self, logits_per_motion, logits_per_text, labels)
diffplanner/models/losses/clip_contrastive_loss.py:14
Methodforward_test
(self, h=None, src_mask=None, emb=None, xf_out=None, re_feat=None, **kwargs)
diffplanner/models/transformers/remodiffuse.py:201
Methodforward_test
(self, h=None, src_mask=None, emb=None, xf_out=None, **kwargs)
diffplanner/models/transformers/motiondiffuse.py:27
Methodforward_train
(self, h=None, src_mask=None, emb=None, xf_out=None, re_feat=None, **kwargs)
diffplanner/models/transformers/remodiffuse.py:192
Methodforward_train
(self, h=None, src_mask=None, emb=None, xf_out=None, **kwargs)
diffplanner/models/transformers/motiondiffuse.py:20
Methodgenerate_eval_unroll
(cvae_params: PolicyParams, key: PRNGKey, ref_traj:
diffmimic/brax_lib/acting.py:105
Functionget_padding_mask
(batch_size, seq_len, cap_lens)
diffplanner/models/rnns/t2m_bigru.py:40
Methodget_precompute_condition
(self, text=None, xf_proj=None, xf_out=None, device=None)
diffplanner/models/transformers/motiondiffuse.py:15
Functioninit_weight
(m)
diffplanner/models/rnns/t2m_bigru.py:13
Methodis_vb
(self)
diffplanner/models/utils/gaussian_diffusion.py:308
Methodload_anno
(self, name)
diffplanner/datasets/text_motion_dataset.py:52
Methodload_pretrained
(self, ckpt_path)
diffplanner/models/transformers/actor.py:162
Methodload_pretrained
(self, ckpt_path)
diffplanner/models/transformers/text_transformer.py:92
Methodload_pretrained
(self, ckpt_path)
diffplanner/models/rnns/t2m_bigru.py:85
Functionlocal_rot_ang
(_, x)
data/humanml3d_converter.py:106
Functionlocal_rot_ang
(_, x)
data/kitml_converter.py:105
Functionlocal_rot_ang_inv
(_, x)
data/humanml3d_converter.py:118
Functionlocal_rot_ang_inv
(_, x)
data/kitml_converter.py:117
Functionloss
(cvae_params, normalizer_params, key, ref_traj, mask)
diffmimic/brax_lib/agent_diffmimic.py:177
Functionloss_l1_ang
(qp, ref_qp)
diffmimic/mimic_envs/losses.py:77
Functionloss_l1_relpos
(qp, ref_qp)
diffmimic/mimic_envs/losses.py:6
Functionloss_l1_rot
(qp, ref_qp)
diffmimic/mimic_envs/losses.py:84
← previousnext →301–400 of 459, ranked by callers