Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/insactor
/ functions
Functions
459 in github.com/MotrixLab/insactor
⨍
Functions
459
◇
Types & classes
83
Function
loss_l1_vel
(qp, ref_qp)
diffmimic/mimic_envs/losses.py:60
Function
main
(argv)
mimic.py:22
Function
make_encoder_networks
Make encoder networks.
diffmimic/brax_lib/encoder.py:95
Function
make_inference_fn
Creates params and inference function for the encoder agent.
diffmimic/brax_lib/encoder.py:39
Function
matrix_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
Function
matrix_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
Function
mse_loss_with_gmof
Extended MSE Loss with GMOF.
diffplanner/models/losses/mse_loss.py:22
Function
multi_apply
(func, *args, **kwargs)
diffplanner/utils/misc.py:6
Function
numpy_collate
(batch)
diffmimic/utils/data.py:11
Method
p_mean_variance
(self, model, *args, **kwargs)
diffplanner/models/utils/gaussian_diffusion.py:1269
Method
parse_values
(self, values, gt_values)
diffplanner/core/evaluation/evaluators/diversity_evaluator.py:58
Method
parse_values
(self, values, gt_values)
diffplanner/core/evaluation/evaluators/precision_evaluator.py:87
Method
parse_values
(self, values, gt_values)
diffplanner/core/evaluation/evaluators/matching_score_evaluator.py:83
Method
parse_values
(self, values)
diffplanner/core/evaluation/evaluators/multimodality_evaluator.py:62
Function
positional_encoding
(batch_size, dim, pos)
diffplanner/models/rnns/t2m_bigru.py:29
Method
prepare_data
Prepare raw data for the f'{idx'}-th data.
diffplanner/datasets/text_motion_dataset.py:67
Function
prepare_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
Method
process_xstart
(x)
diffplanner/models/utils/gaussian_diffusion.py:504
Function
quat_diff_theta
(q0, q1)
data/rotation_utils/quaternion.py:111
Function
quat_diff_theta
(q0, q1)
diffmimic/utils/quaternion.py:112
Function
quat_identity_like
Construct identity 3D rotation with the same shape
diffmimic/utils/quaternion.py:104
Function
quat_rotate
Rotate a 3D vector with the 3D rotation
data/rotation_utils/quaternion.py:10
Function
quaternion_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
Function
quaternion_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
Function
random_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
Function
reparameterize
(mu, logvar)
diffplanner/models/rnns/t2m_bigru.py:21
Method
reparameterize
(self, mu, logvar)
diffplanner/models/architectures/contrast_architecture.py:29
Method
reset
Resets the environment to an initial state.
simulate/humanoid_mimic_hit.py:54
Method
reset
Resets the environment to an initial state.
diffmimic/mimic_envs/humanoid_mimic.py:25
Method
reset_ref
(self, rng: jp.ndarray, ref_traj: jp.ndarray, mask: jp.ndarray, text_embedding: jp.ndarray)
simulate/wrappers.py:26
Method
reset_ref
(self, rng: jp.ndarray, ref_traj: jp.ndarray, mask: jp.ndarray, text_embedding: jp.ndarray)
simulate/wrappers.py:36
Method
reset_ref
(self, rng: jp.ndarray, ref_traj: jp.ndarray, mask: jp.ndarray, text_embedding:jp.ndarray)
simulate/wrappers.py:46
Method
reset_ref
(self, rng: jp.ndarray, ref_traj: jp.ndarray, mask: jp.ndarray)
diffmimic/brax_lib/wrappers.py:26
Method
reset_ref
(self, rng: jp.ndarray, ref_traj: jp.ndarray, mask: jp.ndarray)
diffmimic/brax_lib/wrappers.py:36
Method
reset_ref
(self, rng: jp.ndarray, ref_traj: jp.ndarray, mask: jp.ndarray)
diffmimic/brax_lib/wrappers.py:46
Method
reset_ref
(self, rng: jp.ndarray, ref_traj: jp.ndarray, mask: jp.ndarray)
diffmimic/mimic_envs/humanoid_mimic_train.py:19
Function
rotation_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
Method
sample
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
Function
set_qp
(carry, x)
data/humanml3d_converter.py:139
Function
set_qp
(carry, x)
data/kitml_converter.py:138
Method
single_evaluate
(self, results, gt_flag)
diffplanner/core/evaluation/evaluators/diversity_evaluator.py:35
Method
single_evaluate
(self, results, gt_flag)
diffplanner/core/evaluation/evaluators/precision_evaluator.py:39
Method
single_evaluate
(self, results, gt_flag)
diffplanner/core/evaluation/evaluators/matching_score_evaluator.py:39
Method
single_evaluate
(self, results)
diffplanner/core/evaluation/evaluators/multimodality_evaluator.py:45
Method
step
Run one timestep of the environment's dynamics.
simulate/humanoid_mimic_hit.py:113
Method
step
(self, state: env.State, action: jp.ndarray)
diffmimic/mimic_envs/humanoid_mimic_train.py:25
Function
torch_to_numpy
(x)
diffplanner/utils/misc.py:12
Function
train
Direct trajectory optimization training.
diffmimic/brax_lib/agent_diffmimic.py:69
Method
train_step
Train step function. Args: inputs (Tensor): Input Tensor. kwargs (dict): Args for ``mmcv.parallel.sca
diffplanner/core/distributed_wrapper.py:113
Method
train_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
Method
update_with_all_losses
(self, ts, losses)
diffplanner/models/utils/gaussian_diffusion.py:142
Method
update_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
Method
val_step
Validation step function. Args: inputs (tuple): Input data. kwargs (dict): Args for ``scatter_kwargs``.
diffplanner/core/distributed_wrapper.py:126
Method
val_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
Function
weighted_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
Method
weights
(self)
diffplanner/models/utils/gaussian_diffusion.py:70
Method
weights
(self)
diffplanner/models/utils/gaussian_diffusion.py:133
Function
worker_init_fn
Init random seed for each worker.
diffplanner/datasets/builder.py:107
Function
wrapper
(pred, target, weight=None, reduction='mean',
diffplanner/models/losses/utils.py:79
← previous
401–459 of 459, ranked by callers