MCPcopy Create free account

hub / github.com/MotrixLab/insactor / functions

Functions459 in github.com/MotrixLab/insactor

Functionloss_l1_vel
(qp, ref_qp)
diffmimic/mimic_envs/losses.py:60
Functionmain
(argv)
mimic.py:22
Functionmake_encoder_networks
Make encoder networks.
diffmimic/brax_lib/encoder.py:95
Functionmake_inference_fn
Creates params and inference function for the encoder agent.
diffmimic/brax_lib/encoder.py:39
Functionmatrix_to_axis_angle
Convert rotations given as rotation matrices to axis/angle. Args: matrix: Rotation matrices as tensor of shape (..., 3, 3). Ret
data/rotation_utils/conversions.py:492
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
data/rotation_utils/conversions.py:599
Functionmse_loss_with_gmof
Extended MSE Loss with GMOF.
diffplanner/models/losses/mse_loss.py:22
Functionmulti_apply
(func, *args, **kwargs)
diffplanner/utils/misc.py:6
Functionnumpy_collate
(batch)
diffmimic/utils/data.py:11
Methodp_mean_variance
(self, model, *args, **kwargs)
diffplanner/models/utils/gaussian_diffusion.py:1269
Methodparse_values
(self, values, gt_values)
diffplanner/core/evaluation/evaluators/diversity_evaluator.py:58
Methodparse_values
(self, values, gt_values)
diffplanner/core/evaluation/evaluators/precision_evaluator.py:87
Methodparse_values
(self, values, gt_values)
diffplanner/core/evaluation/evaluators/matching_score_evaluator.py:83
Methodparse_values
(self, values)
diffplanner/core/evaluation/evaluators/multimodality_evaluator.py:62
Functionpositional_encoding
(batch_size, dim, pos)
diffplanner/models/rnns/t2m_bigru.py:29
Methodprepare_data
Prepare raw data for the f'{idx'}-th data.
diffplanner/datasets/text_motion_dataset.py:67
Functionprepare_output_path
Check output folder or file. Args: output_path (str): could be folder or file. allowed_suffix (List[str], optional):
diffplanner/utils/path_utils.py:120
Methodprocess_xstart
(x)
diffplanner/models/utils/gaussian_diffusion.py:504
Functionquat_diff_theta
(q0, q1)
data/rotation_utils/quaternion.py:111
Functionquat_diff_theta
(q0, q1)
diffmimic/utils/quaternion.py:112
Functionquat_identity_like
Construct identity 3D rotation with the same shape
diffmimic/utils/quaternion.py:104
Functionquat_rotate
Rotate a 3D vector with the 3D rotation
data/rotation_utils/quaternion.py:10
Functionquaternion_apply
Apply the rotation given by a quaternion to a 3D point. Usual torch rules for broadcasting apply. Args: quaternion: Tensor of qu
data/rotation_utils/conversions.py:451
Functionquaternion_multiply
Multiply two quaternions representing rotations, returning the quaternion representing their composition, i.e. the versor with nonnegative re
data/rotation_utils/conversions.py:415
Functionrandom_rotation
Generate a single random 3x3 rotation matrix. Args: dtype: Type to return device: Device of returned tensor. Default: if Non
data/rotation_utils/conversions.py:359
Functionreparameterize
(mu, logvar)
diffplanner/models/rnns/t2m_bigru.py:21
Methodreparameterize
(self, mu, logvar)
diffplanner/models/architectures/contrast_architecture.py:29
Methodreset
Resets the environment to an initial state.
simulate/humanoid_mimic_hit.py:54
Methodreset
Resets the environment to an initial state.
diffmimic/mimic_envs/humanoid_mimic.py:25
Methodreset_ref
(self, rng: jp.ndarray, ref_traj: jp.ndarray, mask: jp.ndarray, text_embedding: jp.ndarray)
simulate/wrappers.py:26
Methodreset_ref
(self, rng: jp.ndarray, ref_traj: jp.ndarray, mask: jp.ndarray, text_embedding: jp.ndarray)
simulate/wrappers.py:36
Methodreset_ref
(self, rng: jp.ndarray, ref_traj: jp.ndarray, mask: jp.ndarray, text_embedding:jp.ndarray)
simulate/wrappers.py:46
Methodreset_ref
(self, rng: jp.ndarray, ref_traj: jp.ndarray, mask: jp.ndarray)
diffmimic/brax_lib/wrappers.py:26
Methodreset_ref
(self, rng: jp.ndarray, ref_traj: jp.ndarray, mask: jp.ndarray)
diffmimic/brax_lib/wrappers.py:36
Methodreset_ref
(self, rng: jp.ndarray, ref_traj: jp.ndarray, mask: jp.ndarray)
diffmimic/brax_lib/wrappers.py:46
Methodreset_ref
(self, rng: jp.ndarray, ref_traj: jp.ndarray, mask: jp.ndarray)
diffmimic/mimic_envs/humanoid_mimic_train.py:19
Functionrotation_6d_to_matrix
Converts 6D rotation representation by Zhou et al. [1] to rotation matrix using Gram--Schmidt orthogonalization per Section B of [1]. Arg
data/rotation_utils/conversions.py:574
Methodsample
Importance-sample timesteps for a batch. :param batch_size: the number of timesteps. :param device: the torch device to save
diffplanner/models/utils/gaussian_diffusion.py:47
Functionset_qp
(carry, x)
data/humanml3d_converter.py:139
Functionset_qp
(carry, x)
data/kitml_converter.py:138
Methodsingle_evaluate
(self, results, gt_flag)
diffplanner/core/evaluation/evaluators/diversity_evaluator.py:35
Methodsingle_evaluate
(self, results, gt_flag)
diffplanner/core/evaluation/evaluators/precision_evaluator.py:39
Methodsingle_evaluate
(self, results, gt_flag)
diffplanner/core/evaluation/evaluators/matching_score_evaluator.py:39
Methodsingle_evaluate
(self, results)
diffplanner/core/evaluation/evaluators/multimodality_evaluator.py:45
Methodstep
Run one timestep of the environment's dynamics.
simulate/humanoid_mimic_hit.py:113
Methodstep
(self, state: env.State, action: jp.ndarray)
diffmimic/mimic_envs/humanoid_mimic_train.py:25
Functiontorch_to_numpy
(x)
diffplanner/utils/misc.py:12
Functiontrain
Direct trajectory optimization training.
diffmimic/brax_lib/agent_diffmimic.py:69
Methodtrain_step
Train step function. Args: inputs (Tensor): Input Tensor. kwargs (dict): Args for ``mmcv.parallel.sca
diffplanner/core/distributed_wrapper.py:113
Methodtrain_step
The iteration step during training. This method defines an iteration step during training, except for the back propagation and optimiz
diffplanner/models/architectures/base_architecture.py:54
Methodupdate_with_all_losses
(self, ts, losses)
diffplanner/models/utils/gaussian_diffusion.py:142
Methodupdate_with_local_losses
Update the reweighting using losses from a model. Call this method from each rank with a batch of timesteps and the correspon
diffplanner/models/utils/gaussian_diffusion.py:75
Methodval_step
Validation step function. Args: inputs (tuple): Input data. kwargs (dict): Args for ``scatter_kwargs``.
diffplanner/core/distributed_wrapper.py:126
Methodval_step
The iteration step during validation. This method shares the same signature as :func:`train_step`, but used during val epochs. Note th
diffplanner/models/architectures/base_architecture.py:85
Functionweighted_loss
Create a weighted version of a given loss function. To use this decorator, the loss function must have the signature like `loss_func(pred, tar
diffplanner/models/losses/utils.py:52
Methodweights
(self)
diffplanner/models/utils/gaussian_diffusion.py:70
Methodweights
(self)
diffplanner/models/utils/gaussian_diffusion.py:133
Functionworker_init_fn
Init random seed for each worker.
diffplanner/datasets/builder.py:107
Functionwrapper
(pred, target, weight=None, reduction='mean',
diffplanner/models/losses/utils.py:79
← previous401–459 of 459, ranked by callers