MCPcopy Create free account

hub / github.com/USRC-SEA/OmniMotionGPT / functions

Functions412 in github.com/USRC-SEA/OmniMotionGPT

Method__init__
(self, list_filepath)
OmGPT/motion_mapping/exp/motion_datasets/smal.py:55
Method__init__
(self, list_filepath)
OmGPT/motion_mapping/exp/motion_datasets/datasets.py:178
Method__init__
(self, smpl_t2m_dataset, smal_t2m_dataset)
OmGPT/motion_mapping/exp/motion_datasets/combine.py:45
Method__init__
(self, args)
OmGPT/motion_mapping/exp/motion_models/motion_clip.py:237
Method__init__
(self, args)
OmGPT/motion_mapping/exp/motion_models/architecture.py:405
Method__init__
( self, beta: torch.Tensor, betas_logscale: torch.Tensor, scale: torch.Tensor,
OmGPT/data_process/fit/main.py:59
Method__len__
(self)
OmGPT/motion_mapping/evl/eval.py:428
Method__len__
(self)
OmGPT/motion_mapping/evl/eval_mm.py:226
Method__len__
(self)
OmGPT/motion_mapping/evl/eval_id_mm.py:169
Method__len__
(self)
OmGPT/motion_mapping/evl/motion_datasets/smal.py:131
Method__len__
(self)
OmGPT/motion_mapping/evl/motion_datasets/smal.py:260
Method__len__
(self)
OmGPT/motion_mapping/evl/motion_datasets/datasets.py:232
Method__len__
(self)
OmGPT/motion_mapping/evl/motion_datasets/combine.py:104
Method__len__
(self)
OmGPT/motion_mapping/exp/motion_datasets/smal.py:133
Method__len__
(self)
OmGPT/motion_mapping/exp/motion_datasets/smal.py:262
Method__len__
(self)
OmGPT/motion_mapping/exp/motion_datasets/datasets.py:287
Method__len__
(self)
OmGPT/motion_mapping/exp/motion_datasets/combine.py:108
Function_compute_diversity
compute diversity
OmGPT/motion_mapping/evl/eval_mm.py:285
Method_encode_text
encode text with clip. inputs: ------- raw_text list (batch_size length) of strings with input text prom
OmGPT/motion_mapping/evl/motion_models/architecture.py:301
Method_encode_text
encode text with clip. inputs: ------- raw_text list (batch_size length) of strings with input text prom
OmGPT/motion_mapping/exp/motion_models/architecture.py:139
Function_eval_one_epoch
evaluate the model for one epoch.
OmGPT/motion_mapping/evl/eval_fid_out.py:349
Function_get_list_caption_path
take the folder of ood caption as input.
OmGPT/motion_mapping/evl/eval_fid_out.py:207
Function_get_list_generated_motion_path
get the list of generated motion path.
OmGPT/motion_mapping/evl/eval_fid_out.py:224
Method_init_weights
(self, module)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:188
Method_init_weights
(self, module)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:237
Method_init_weights
(self, module)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:285
Method_initialize_clip
(cls)
OmGPT/motion_mapping/evl/motion_datasets/combine.py:119
Method_initialize_clip
(cls)
OmGPT/motion_mapping/exp/motion_datasets/combine.py:123
Method_load_and_freeze_clip
(self, clip_version)
OmGPT/motion_mapping/exp/motion_datasets/datasets.py:228
Function_split_string
(input_string)
OmGPT/motion_mapping/evl/motion_datasets/combine.py:266
Function_split_string
(input_string)
OmGPT/motion_mapping/exp/motion_datasets/combine.py:274
Methodadd_scalar
(self, name: str, val, step: Union[int, None] = None)
OmGPT/motion_mapping/evl/utils/loss_record.py:106
Methodadd_scalar
(self, name: str, val, step: Union[int, None] = None)
OmGPT/motion_mapping/exp/utils/loss_record.py:106
Methodadd_video
add video to tensorboard
OmGPT/motion_mapping/evl/utils/loss_record.py:113
Methodadd_video
add video to tensorboard
OmGPT/motion_mapping/exp/utils/loss_record.py:113
Methodbeta
return the beta tensor
OmGPT/data_process/fit/main.py:76
Methodbetas_logscale
return the betas_logscale tensor
OmGPT/data_process/fit/main.py:83
Functioncalculate_multimodality
(activation, multimodality_times)
OmGPT/motion_mapping/evl/utils/metrics.py:85
Methodcollate
the collate function for the evaluation motion dataset
OmGPT/motion_mapping/evl/eval.py:438
Methodcollate
the collate function for the evaluation motion dataset
OmGPT/motion_mapping/evl/eval_mm.py:236
Methodcollate
the collate function for the evaluation motion dataset
OmGPT/motion_mapping/evl/eval_id_mm.py:179
Methodcollate
the collate function for the combine motion dataset
OmGPT/motion_mapping/evl/motion_datasets/combine.py:138
Methodcollate
the collate function for the human motion dataset. # TODO rename varible names in this function.
OmGPT/motion_mapping/exp/motion_datasets/smal.py:352
Methodcollate
the collate function for the human motion dataset.
OmGPT/motion_mapping/exp/motion_datasets/datasets.py:353
Methodcollate
the collate function for the combine motion dataset
OmGPT/motion_mapping/exp/motion_datasets/combine.py:143
Functioncollate_smal
the collate function for the smal motion dataset
OmGPT/motion_mapping/evl/motion_datasets/utils.py:89
Functioncollate_smpl
the collate function for the smpl motion dataset
OmGPT/motion_mapping/evl/motion_datasets/utils.py:56
Methodend_timer
end the timer and print the time
OmGPT/motion_mapping/evl/utils/loss_record.py:135
Methodepoch
(self, step=None)
OmGPT/motion_mapping/evl/utils/loss_record.py:121
Methodepoch
(self, step=None)
OmGPT/motion_mapping/exp/utils/loss_record.py:121
Functioneuclidean_distance_matrix_torch
Calculate the Euclidean distance matrix between two sets of vectors using PyTorch. (X - X_train) * (X - X_train) = -2 * X * X_train + X * X
OmGPT/motion_mapping/evl/utils/metrics.py:173
Functioneval_one_epoch
evaluate the model for one full epoch.
OmGPT/motion_mapping/exp/train.py:315
Functionevaluate_matching_score
(eval_wrapper, motion_loaders, file)
OmGPT/motion_mapping/evl/eval.py:50
Functionevaluate_matching_score
(eval_wrapper, motion_loaders, file)
OmGPT/motion_mapping/evl/eval_fid_out.py:51
Functionfind_subject
solution from chatgpt about how to find subject.
OmGPT/motion_mapping/evl/motion_datasets/combine.py:270
Functionfind_subject
solution from chatgpt about how to find subject.
OmGPT/motion_mapping/exp/motion_datasets/combine.py:278
Methodforward
(self, x)
OmGPT/motion_mapping/evl/motion_models/pos_encoding.py:57
Methodforward
input: ------ clip_feature : [bs, 512] the clip feature latent_feature : [bs, 49, 7, 16] the
OmGPT/motion_mapping/evl/motion_models/architecture.py:90
Methodforward
forward the latent
OmGPT/motion_mapping/evl/motion_models/architecture.py:142
Methodforward
forward function for the motion mapping model inputs: ------- batch_data a dict of dict of tensor or wor
OmGPT/motion_mapping/evl/motion_models/architecture.py:401
Methodforward
forward function for the loss calculator inputs: ------- batch_data a dict of dict of tensor or words
OmGPT/motion_mapping/evl/motion_models/architecture.py:881
Methodforward
forward the latent
OmGPT/motion_mapping/evl/motion_models/sem.py:51
Methodforward
forward function for the motion clip model inputs: ------- batch_data: dict batch data
OmGPT/motion_mapping/evl/motion_models/sem.py:139
Methodforward
forward function for the loss calculator
OmGPT/motion_mapping/evl/motion_models/sem.py:188
Methodforward
(self, x)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:115
Methodforward
(self, x)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:153
Methodforward
(self, idx, clip_feature)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:197
Methodforward
(self, x)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:246
Methodforward
inputs: ------- latent latent feature of shape (bs, num_frames / 4, 512)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:294
Methodforward
TODO clean this code
OmGPT/motion_mapping/exp/motion_models/motion_clip.py:159
Methodforward
forward function for the loss calculator inputs: ------- batch_data a dict of dict of tensor or words
OmGPT/motion_mapping/exp/motion_models/motion_clip.py:273
Methodforward
forward function for the motion mapping model inputs: ------- batch_data a dict of dict of tensor or wor
OmGPT/motion_mapping/exp/motion_models/architecture.py:225
Methodforward
forward function for the loss calculator inputs: ------- batch_data a dict of dict of tensor or words
OmGPT/motion_mapping/exp/motion_models/architecture.py:506
Methodforward_from_caption
forward function for the caption as input. go through smpl decoder. inputs: ------- batch_data a dict of
OmGPT/motion_mapping/evl/motion_models/architecture.py:610
Methodforward_from_caption
forward function for the caption as input. go through smpl decoder. inputs: ------- batch_data a dict of
OmGPT/motion_mapping/exp/motion_models/architecture.py:356
Functiongenerate_motions
generate motions from the data loader and network. mean while saving the motions inputs: ------- return: -------
OmGPT/motion_mapping/evl/eval.py:148
Functiongenerate_motions
generate motions from the data loader and network. mean while saving the motions inputs: ------- return: -------
OmGPT/motion_mapping/evl/eval_fid_out.py:149
Functiongenerate_no_tail_index
generate the index of no tail vertices.
OmGPT/data_process/fit/main.py:362
Methodget_block_size
(self)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:58
Methodget_block_size
(self)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:185
Methodget_block_size
(self)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:234
Methodget_block_size
(self)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:282
Methodget_block_size
(self)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:351
Functionget_dataloader
get dataloader from args
OmGPT/motion_mapping/evl/motion_datasets/__init__.py:50
Functionget_dataloader
get dataloader from args
OmGPT/motion_mapping/exp/motion_datasets/__init__.py:51
Methodget_lambda
get the lambda at a certain step
OmGPT/motion_mapping/evl/motion_models/architecture.py:766
Functioninit_weights
(m)
OmGPT/motion_mapping/exp/motion_models/motion_clip.py:32
Methodinv_transform
(self, data)
OmGPT/motion_mapping/evl/motion_datasets/datasets.py:229
Methodinv_transform
(self, data)
OmGPT/motion_mapping/exp/motion_datasets/datasets.py:284
Functionload_on_gpu
recursively load all tensors in a nested dictionary structure onto the gpu.
OmGPT/motion_mapping/exp/utils/utils.py:31
Functionmain
the main function for visualizing the results
OmGPT/data_process/fit/visualize_results.py:63
Functionparse_args
parse args
OmGPT/motion_mapping/evl/utils/options.py:221
Functionparse_finetune_args
parse the args for finetuning
OmGPT/motion_mapping/evl/utils/options.py:277
Functionparse_finetune_args
parse the args for finetuning
OmGPT/motion_mapping/exp/utils/options.py:274
Functionprocess
the process function for parallel processing to process the animal motions.
OmGPT/data_process/joints/compute_6d_repr.py:136
Methodsample
(self, clip_feature, if_categorial=False)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:66
Methodsave
(self, path)
OmGPT/motion_mapping/evl/utils/loss_record.py:125
Methodsave
(self, path)
OmGPT/motion_mapping/exp/utils/loss_record.py:125
Functionsave_smal_no_tail_faces
save the faces of smal model with no tail inputs: -------
OmGPT/data_process/fit/main.py:496
Methodscale
return the scale tensor
OmGPT/data_process/fit/main.py:97
← previousnext →301–400 of 412, ranked by callers