MCPcopy Create free account

hub / github.com/afford-motion/afford-motion / functions

Functions504 in github.com/afford-motion/afford-motion

Method__init__
(self, cfg: DictConfig, *args, **kwargs)
models/cmdm.py:15
Method__init__
(self, time_emb_dim, dropout=0.1, max_len=5000)
models/modules.py:29
Method__init__
(self, d_model, time_embed_dim, max_len=5000)
models/modules.py:39
Method__init__
(self, point_feat_dim: int, planes: List, blocks: List, num_points: int=8192)
models/modules.py:57
Method__init__
(self, point_feat_dim: int, planes: List, blocks: List, num_points: int=8192)
models/modules.py:125
Method__init__
(self, frq_pos_enc: torch.Tensor, right_align: bool = False)
models/modules.py:175
Method__init__
(self, module: nn.Module, dropout: float = 0.0)
models/modules.py:223
Method__init__
Multi-head attention as specified in https://arxiv.org/abs/2107.14795 Appendix E plus support for rotary position embeddings (https://arxiv.or
models/modules.py:235
Method__init__
Pre-layer-norm cross-attention (see `MultiHeadAttention` for attention details).
models/modules.py:385
Method__init__
Pre-layer norm self-attention (see `MultiHeadAttention` and for attention details).
models/modules.py:445
Method__init__
( self, num_heads: int, num_q_input_channels: int, num_kv_input_channels: int,
models/modules.py:505
Method__init__
( self, num_heads: int, num_channels: int, num_qk_channels: Optional[int] = No
models/modules.py:545
Method__init__
( self, num_layers: int, num_heads: int, num_channels: int, num_qk_cha
models/modules.py:582
Method__init__
(self, in_dim: int, out_dim: int, widening_factor: int=1, bias: bool=True)
models/cdm.py:15
Method__init__
(self, arch_cfg: DictConfig, contact_dim: int, point_feat_dim: int, text_feat_dim: int, time_emb_dim: int)
models/cdm.py:43
Method__init__
(self, arch_cfg: DictConfig, contact_dim: int, point_feat_dim: int, text_feat_dim: int, time_emb_dim: int)
models/cdm.py:90
Method__init__
(self, arch_cfg: DictConfig, contact_dim: int, point_feat_dim: int, text_feat_dim: int, time_emb_dim: int)
models/cdm.py:192
Method__init__
(self, arch_cfg: DictConfig, contact_dim: int, point_feat_dim: int, text_feat_dim: int, time_emb_dim: int)
models/cdm.py:291
Method__init__
(self, in_planes, out_planes, share_planes=8, nsample=16)
models/scene_models/pointtransformer.py:10
Method__init__
(self, in_planes, out_planes, stride=1, nsample=16)
models/scene_models/pointtransformer.py:42
Method__init__
(self, in_planes, planes, share_planes=8, nsample=16)
models/scene_models/pointtransformer.py:105
Method__init__
(self, block, blocks, c=6, num_points=8192)
models/scene_models/pointtransformer.py:127
Method__init__
(self, block, blocks, c=6, num_points=8192)
models/scene_models/pointtransformer.py:217
Method__iter__
(self)
utils/registry.py:88
Method__len__
(self)
utils/joints_to_smplx.py:168
Method__len__
(self)
utils/eval/get_data.py:93
Method__len__
(self)
utils/eval/get_data.py:143
Method__len__
(self)
utils/eval/get_data.py:182
Method__len__
(self)
utils/eval/word_vectorizer.py:61
Method__len__
(self)
h3d_eval/eval_h3d_dataset_offline.py:106
Method__len__
(self)
h3d_eval/eval_h3d_dataset_offline.py:133
Method__len__
(self)
datasets/motionx.py:171
Method__len__
(self)
datasets/motionx.py:595
Method__len__
(self)
datasets/motionx.py:697
Method__len__
(self)
datasets/motionx.py:860
Method__len__
(self)
datasets/humanml3d.py:161
Method__len__
(self)
datasets/humanml3d.py:513
Method__len__
(self)
datasets/humanml3d.py:737
Method__repr__
(self)
utils/registry.py:81
Method__setattr__
(self, name, value)
models/modules.py:212
Method_load_datasets
Load the dataset
datasets/motionx.py:249
Method_load_datasets
(self)
datasets/motionx.py:347
Method_load_datasets
Load the dataset
datasets/motionx.py:675
Method_load_datasets
Load the datasets
datasets/motionx.py:948
Method_load_datasets
Load the datasets
datasets/motionx.py:979
Method_load_datasets
Load the dataset
datasets/motionx.py:1079
Method_load_datasets
Load the dataset
datasets/motionx.py:1155
Method_load_datasets
(self)
datasets/humanml3d.py:208
Method_scale_timesteps
(self, t)
diffusion/respace.py:112
Functionavg_pool_nd
Create a 1D, 2D, or 3D average pooling module.
diffusion/nn.py:43
Methodbackward
input: grad_out: (m, c, nsample) output: (n, c), None
models/scene_models/pointops.py:64
Methodbackward
input: grad_out: (n, nsample, c) output: grad_input1: (n, c), grad_input2: (n, c)
models/scene_models/pointops.py:118
Methodbackward
input: grad_out: (n, c) output: grad_input: (n, c), grad_position: (n, nsample, c), grad_weight : (n, nsample, c')
models/scene_models/pointops.py:148
Methodbackward
input: xyz: (m, 3), new_xyz: (n, 3), input: (m, c), offset: (b), new_offset: (b) output: (n, c)
models/scene_models/pointops.py:202
Functioncalculate_R_precision
(embedding1, embedding2, top_k, sum_all=False)
utils/eval/metrics.py:37
Functioncalculate_matching_score
(embedding1, embedding2, sum_all=False)
utils/eval/metrics.py:47
Functioncheckpoint
Evaluate a function without caching intermediate activations, allowing for reduced memory at the expense of extra compute in the backward pas
diffusion/nn.py:131
Methodclose
Close the board and flush the log
utils/io.py:79
Methodclose
Close the board and flush the log
utils/io.py:107
Functioncollate_fn
(batch)
utils/eval/get_data.py:13
Functioncollate_fn
(batch)
h3d_eval/eval_h3d_dataset_offline.py:10
Functioncollate_fn_general
General collate function used for dataloader.
datasets/misc.py:5
Functioncollate_fn_squeeze_pcd_batch
General collate function used for dataloader. This collate function is used for point-transformer
datasets/misc.py:15
Methodcondition_mean
(self, cond_fn, *args, **kwargs)
diffusion/respace.py:99
Methodcondition_score
(self, cond_fn, *args, **kwargs)
diffusion/respace.py:102
Functionconv_nd
Create a 1D, 2D, or 3D convolution module.
diffusion/nn.py:23
Functioncreate_named_schedule_sampler
Create a ScheduleSampler from a library of pre-defined samplers. :param name: the name of the sampler. :param diffusion: the diffusion o
diffusion/resample.py:14
Functioncreate_visualizer
Create visualizer according to the configuration Args: cfg: configuration dict Return: Visualizer
utils/visualize.py:217
Methodddim_reverse_sample
Sample x_{t+1} from the model using DDIM reverse ODE.
diffusion/gaussian_diffusion.py:588
Methodddim_sample_loop
Generate samples from the model using DDIM. Same usage as p_sample_loop().
diffusion/gaussian_diffusion.py:626
Functiondebug_contact_map_dataloader
(dataloader)
utils/debug.py:58
Functiondebug_contact_map_h3d_dataloader
(dataloader)
utils/debug.py:190
Functiondebug_contact_motion_dataloader
(dataloader)
utils/debug.py:111
Functiondebug_contact_motion_h3d_dataloader
(dataloader)
utils/debug.py:232
Functiondebug_h3d_dataloader
(dataloader)
utils/debug.py:158
Functiondebug_motionx_dataloader
(dataloader)
utils/debug.py:13
Methoddeco
(func_or_class: Any)
utils/registry.py:59
Methoddenormalize
Denormalize pose sequence (usually for visualization) Args: pose_seq: a numpy array of normalized pose sequence
datasets/motionx.py:160
Methoddenormalize
Denormalize the contact map Args: contact: the contact map to be denormalized clip: whether to clip the contact map
datasets/motionx.py:576
Methoddenormalize
Denormalize the motion Args: motion: motion data to be denormalized Return: Denormalized motion
datasets/motionx.py:849
Methoddenormalize
Denormalize pose sequence (usually for visualization) Args: pose_seq: a numpy array of normalized pose sequence
datasets/humanml3d.py:150
Methoddenormalize
Denormalize the contact map Args: contact: the contact map to be denormalized clip: whether to clip the contact map
datasets/humanml3d.py:494
Methoddenormalize
Denormalize the motion Args: motion: motion data to be denormalized Return: Denormalized motion
datasets/humanml3d.py:726
Methodevaluate
Evaluate sample Args: sample_list: sample result k_samples_list: k samples result save_dir: save directo
utils/evaluate.py:41
Methodevaluate
Evaluate sample Args: sample_list: sample result k_samples_list: k samples result save_dir: save directo
utils/evaluate.py:98
Methodevaluate
Evaluate sample Args: sample_list: sample result k_samples_list: k samples result save_dir: save directo
utils/evaluate.py:158
Methodevaluate
Evaluate sample Args: sample_list: sample result k_samples_list: k samples result save_dir: save directo
utils/evaluate.py:281
Methodforward
(self, x)
diffusion/nn.py:19
Methodforward
(ctx, run_function, length, *args)
diffusion/nn.py:151
Methodforward
(self, output1, output2, label)
utils/eval/modules.py:20
Methodforward
(self, pos)
utils/eval/modules.py:75
Methodforward
(self, inputs)
utils/eval/modules.py:94
Methodforward
(self, inputs)
utils/eval/modules.py:117
Methodforward
(self, inputs, last_pred, hidden, p)
utils/eval/modules.py:172
Methodforward
(self, inputs, hidden, p)
utils/eval/modules.py:218
Methodforward
query (batch, query_dim) key (batch, seq_len, key_dim)
utils/eval/modules.py:246
Methodforward
(self, word_embs, pos_onehot, cap_lens)
utils/eval/modules.py:285
Methodforward
(self, word_embs, pos_onehot, cap_lens)
utils/eval/modules.py:335
Methodforward
(self, inputs, m_lens)
utils/eval/modules.py:373
Methodforward
(self, word_embs, pos_onehot, cap_lens)
utils/eval/modules.py:423
← previousnext →301–400 of 504, ranked by callers