MCPcopy Create free account

hub / github.com/MotrixLab/insactor / functions

Functions459 in github.com/MotrixLab/insactor

↓ 1 callersFunctionquat_identity
Construct 3D identity rotation given shape
diffmimic/utils/quaternion.py:94
↓ 1 callersFunctionquat_imaginary
imaginary components of the quaternion
data/rotation_utils/quaternion.py:4
↓ 1 callersFunctionquat_imaginary
imaginary components of the quaternion
diffmimic/utils/quaternion.py:4
↓ 1 callersFunctionquat_pos
make all the real part of the quaternion positive
data/rotation_utils/quaternion.py:31
↓ 1 callersFunctionquat_pos
make all the real part of the quaternion positive
diffmimic/utils/quaternion.py:31
↓ 1 callersFunctionquat_unit
normalized quaternion with norm of 1
data/rotation_utils/quaternion.py:47
↓ 1 callersFunctionquat_unit
normalized quaternion with norm of 1
diffmimic/utils/quaternion.py:47
↓ 1 callersFunctionquaternion_invert
Given a quaternion representing rotation, get the quaternion representing its inverse. Args: quaternion: Quaternions as tensor o
data/rotation_utils/conversions.py:433
↓ 1 callersFunctionquaternion_to_axis_angle
Convert rotations given as quaternions to axis/angle. Args: quaternions: quaternions with real part first, as tensor of
data/rotation_utils/conversions.py:542
↓ 1 callersFunctionquaternion_to_matrix
(quaternions)
diffmimic/utils/rotation6d.py:4
↓ 1 callersFunctionrandom_quaternions
Generate random quaternions representing rotations, i.e. versors with nonnegative real part. Args: n: Number of quaternions in a
data/rotation_utils/conversions.py:314
↓ 1 callersFunctionrandom_rotations
Generate random rotations as 3x3 rotation matrices. Args: n: Number of rotation matrices in a batch to return. dtype: Type t
data/rotation_utils/conversions.py:339
↓ 1 callersFunctionreduce_loss
Reduce loss as specified. Args: loss (Tensor): Elementwise loss tensor. reduction (str): Options are "none", "mean" and "sum".
diffplanner/models/losses/utils.py:7
↓ 1 callersFunctionremove_box
(qp)
tools/demo_utils/scene.py:9
↓ 1 callersFunctionremove_box
(qp)
simulate/scene.py:9
↓ 1 callersMethodremove_box
(self, qp)
simulate/humanoid_mimic_hit.py:107
↓ 1 callersFunctionremove_scene_from_traj
(traj)
simulate/scene.py:60
↓ 1 callersMethodreparameterize
(self, mu, logvar)
diffplanner/models/architectures/vae_architecture.py:41
↓ 1 callersMethodreset_ref
Resets the environment to an initial state.
simulate/humanoid_mimic_hit.py:61
↓ 1 callersMethodreset_ref
Resets the environment to an initial state.
diffmimic/mimic_envs/humanoid_mimic.py:32
↓ 1 callersMethodretrieval
(self, caption, length, clip_model, device)
diffplanner/models/transformers/remodiffuse.py:105
↓ 1 callersMethodsample
(self, std=1, latent_code=None)
diffplanner/models/architectures/vae_architecture.py:30
↓ 1 callersFunctionset_endpoint_to_xy
(data, x, y)
tools/demo.py:52
↓ 1 callersFunctionset_random_seed
Set random seed. Args: seed (int): Seed to be used. deterministic (bool): Whether to set the deterministic option for
diffplanner/apis/train.py:21
↓ 1 callersFunctionset_requires_grad
Set requies_grad for all the networks. Args: nets (nn.Module | list[nn.Module]): A list of networks or a single network.
diffplanner/models/transformers/diffusion_transformer.py:36
↓ 1 callersFunctionset_requires_grad
Set requies_grad for all the networks. Args: nets (nn.Module | list[nn.Module]): A list of networks or a single network.
diffplanner/models/transformers/text_transformer.py:11
↓ 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
diffplanner/models/utils/gaussian_diffusion.py:1186
↓ 1 callersMethodsplit_results
(self, results)
diffplanner/models/architectures/base_architecture.py:105
↓ 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
data/rotation_utils/conversions.py:377
↓ 1 callersMethodthrow_box
(self, box_qp, i, root_pos, key)
simulate/humanoid_mimic_hit.py:82
↓ 1 callersFunctionto_3dof
(a)
data/humanml3d_converter.py:94
↓ 1 callersFunctionto_3dof
(a)
data/kitml_converter.py:93
↓ 1 callersMethodto_ddp
Wrap models with separate MMDistributedDataParallel. It only wraps the modules with parameters.
diffplanner/core/distributed_wrapper.py:69
↓ 1 callersMethodto_device
(self, device)
diffplanner/core/evaluation/evaluators/base_evaluator.py:106
↓ 1 callersFunctionto_dof
(a)
data/humanml3d_converter.py:88
↓ 1 callersFunctionto_dof
(a)
data/kitml_converter.py:87
↓ 1 callersFunctionto_tensor
Convert objects of various python types to :obj:`torch.Tensor`. Supported types are: :class:`numpy.ndarray`, :class:`torch.Tensor`, :class:`S
diffplanner/datasets/pipelines/formatting.py:12
↓ 1 callersFunctiontrain_model
Main api for training model.
diffplanner/apis/train.py:39
↓ 1 callersFunctiontraining_epoch
(training_state: TrainingState, key: PRNGKey, ref_traj: jnp.ndarray, mask: jnp.ndarray)
diffmimic/brax_lib/agent_diffmimic.py:201
↓ 1 callersFunctiontraining_epoch_with_timing
(training_state: TrainingState, key: PRNGKey,
diffmimic/brax_lib/agent_diffmimic.py:239
↓ 1 callersMethodtraining_losses
Compute training losses for a single timestep. :param model: the model to evaluate loss on. :param x_start: the [N x C x ...
diffplanner/models/utils/gaussian_diffusion.py:1017
↓ 1 callersMethodupdate_with_all_losses
Update the reweighting using losses from a model. Sub-classes should override this method to update the reweighting using los
diffplanner/models/utils/gaussian_diffusion.py:109
↓ 1 callersFunctionweight_reduce_loss
Apply element-wise weight and reduce loss. Args: loss (Tensor): Element-wise loss. weight (Tensor): Element-wise weights.
diffplanner/models/losses/utils.py:25
↓ 1 callersMethodweights
Get a numpy array of weights, one per diffusion step. The weights needn't be normalized, but must be positive.
diffplanner/models/utils/gaussian_diffusion.py:41
↓ 1 callersFunctionzero_module
Zero out the parameters of a module and return it.
diffplanner/models/utils/stylization_block.py:5
Method__call__
(self, results)
diffplanner/datasets/pipelines/transforms.py:24
Method__call__
(self, results)
diffplanner/datasets/pipelines/transforms.py:68
Method__call__
(self, results)
diffplanner/datasets/pipelines/transforms.py:114
Method__call__
(self, data)
diffplanner/datasets/pipelines/compose.py:30
Method__call__
(self, results)
diffplanner/datasets/pipelines/formatting.py:41
Method__call__
(self, results)
diffplanner/datasets/pipelines/formatting.py:57
Method__call__
(self, results)
diffplanner/datasets/pipelines/formatting.py:91
Method__call__
(self, results)
diffplanner/datasets/pipelines/formatting.py:127
Method__call__
(self, x, ts, **kwargs)
diffplanner/models/utils/gaussian_diffusion.py:1290
Method__getitem__
Prepare data for the ``idx``-th data. As for video dataset, we can first parse raw data for each frame. Then we combine annotations fr
diffplanner/datasets/base_dataset.py:82
Method__getitem__
(self, idx: int)
diffplanner/datasets/dataset_wrappers.py:38
Method__getitem__
(self, item)
diffplanner/models/utils/word_vectorizer.py:64
Method__getitem__
(self, idx)
diffmimic/utils/data.py:92
Method__getitem__
(self, idx)
diffmimic/utils/data.py:148
Method__init__
(self, system_config, reward_scaling=1., vel_weight=0., rot_weight=1., ang_weight=1., local='none',
simulate/humanoid_mimic_hit.py:19
Method__init__
(self, grad_clip=None, coalesce=True, bucket_size_mb=-1)
diffplanner/utils/dist_utils.py:49
Method__init__
(self, module, device_ids, dim=0, broadcas
diffplanner/core/distributed_wrapper.py:47
Method__init__
(self, dataloader, start=None, interval=1,
diffplanner/core/evaluation/eval_hooks.py:77
Method__init__
(self, data_len=0, motion_encoder_name=None, motion_encoder
diffplanner/core/evaluation/evaluators/diversity_evaluator.py:11
Method__init__
(self, data_len=0, text_encoder_name=None, text_encoder_pat
diffplanner/core/evaluation/evaluators/precision_evaluator.py:11
Method__init__
(self, data_len=0, motion_encoder_name=None, motion_encoder
diffplanner/core/evaluation/evaluators/fid_evaluator.py:13
Method__init__
(self, data_len=0, text_encoder_name=None, text_encoder_pat
diffplanner/core/evaluation/evaluators/matching_score_evaluator.py:11
Method__init__
(self, data_len=0, motion_encoder_name=None, motion_encoder
diffplanner/core/evaluation/evaluators/multimodality_evaluator.py:11
Method__init__
(self, batch_size=None, drop_last=False, replication_times=
diffplanner/core/evaluation/evaluators/base_evaluator.py:8
Method__init__
(self, data_prefix: str, pipeline: list, dataset_name: Opti
diffplanner/datasets/text_motion_dataset.py:26
Method__init__
(self, data_prefix: str, pipeline: list, dataset_name: Opti
diffplanner/datasets/base_dataset.py:29
Method__init__
(self, datasets: list)
diffplanner/datasets/dataset_wrappers.py:16
Method__init__
(self, dataset: Dataset, times: int)
diffplanner/datasets/dataset_wrappers.py:32
Method__init__
(self, dataset, num_replicas=None, rank=None,
diffplanner/datasets/samplers/distributed_sampler.py:7
Method__init__
(self, crop_size: Optional[Union[int, None]] = None)
diffplanner/datasets/pipelines/transforms.py:19
Method__init__
(self, min_size: Optional[Union[int, None]] = None, max_size: Optional[Union
diffplanner/datasets/pipelines/transforms.py:60
Method__init__
(self, mean_path, std_path, eps=1e-9)
diffplanner/datasets/pipelines/transforms.py:109
Method__init__
(self, transforms)
diffplanner/datasets/pipelines/compose.py:17
Method__init__
(self, keys)
diffplanner/datasets/pipelines/formatting.py:38
Method__init__
(self, keys, order)
diffplanner/datasets/pipelines/formatting.py:53
Method__init__
(self, keys, meta_keys=('filename', 'ori_filename', 'ori_shape', 'motion_sha
diffplanner/datasets/pipelines/formatting.py:85
Method__init__
(self, latent_dim, time_embed_dim, dropout)
diffplanner/models/utils/stylization_block.py:16
Method__init__
(self, diffusion)
diffplanner/models/utils/gaussian_diffusion.py:66
Method__init__
(self, diffusion, history_per_term=10, uniform_prob=0.001)
diffplanner/models/utils/gaussian_diffusion.py:124
Method__init__
( self, *, betas, model_mean_type, model_var_type, loss_type,
diffplanner/models/utils/gaussian_diffusion.py:329
Method__init__
(self, use_timesteps, **kwargs)
diffplanner/models/utils/gaussian_diffusion.py:1253
Method__init__
(self, meta_root, prefix)
diffplanner/models/utils/word_vectorizer.py:47
Method__init__
(self, sa_block_cfg=None, ca_block_cfg=None, ffn_cfg=None)
diffplanner/models/transformers/diffusion_transformer.py:79
Method__init__
(self, input_feats, max_seq_len=240, latent_dim=512,
diffplanner/models/transformers/diffusion_transformer.py:101
Method__init__
(self, max_seq_len=16, njoints=None, nfeats=None,
diffplanner/models/transformers/actor.py:175
Method__init__
(self, guide_scale=None, retr_guide_scale=None, retrieval_cfg=None, waypoint=False, **kwargs)
diffplanner/models/transformers/remodiffuse.py:171
Method__init__
(self, pretrained_model='clip', text_latent_dim=512, time_e
diffplanner/models/transformers/text_transformer.py:29
Method__init__
(self, **kwargs)
diffplanner/models/transformers/motiondiffuse.py:12
Method__init__
(self, d_model, dropout=0.1, max_len=5000)
diffplanner/models/transformers/position_encoding.py:7
Method__init__
(self, model=None, loss_recon=None, diffusion_train=None,
diffplanner/models/architectures/diffusion_architecture.py:52
Method__init__
(self, encoder=None, decoder=None, loss_recon=None,
diffplanner/models/architectures/vae_architecture.py:17
Method__init__
(self, motion_encoder=None, text_encoder=None, contrastive_
diffplanner/models/architectures/clip_contrast_architecture.py:20
Method__init__
(self, motion_encoder=None, text_encoder=None, contrastive_
diffplanner/models/architectures/contrast_architecture.py:18
Method__init__
(self, init_cfg=None)
diffplanner/models/architectures/base_architecture.py:12
Method__init__
(self, latent_dim, text_latent_dim, num_heads, dropout, time_embed_dim)
diffplanner/models/attentions/efficient_attention.py:45
← previousnext →201–300 of 459, ranked by callers