Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/USRC-SEA/OmniMotionGPT
/ functions
Functions
412 in github.com/USRC-SEA/OmniMotionGPT
⨍
Functions
412
◇
Types & classes
38
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
Method
add_scalar
(self, name: str, val, step: Union[int, None] = None)
OmGPT/motion_mapping/evl/utils/loss_record.py:106
Method
add_scalar
(self, name: str, val, step: Union[int, None] = None)
OmGPT/motion_mapping/exp/utils/loss_record.py:106
Method
add_video
add video to tensorboard
OmGPT/motion_mapping/evl/utils/loss_record.py:113
Method
add_video
add video to tensorboard
OmGPT/motion_mapping/exp/utils/loss_record.py:113
Method
beta
return the beta tensor
OmGPT/data_process/fit/main.py:76
Method
betas_logscale
return the betas_logscale tensor
OmGPT/data_process/fit/main.py:83
Function
calculate_multimodality
(activation, multimodality_times)
OmGPT/motion_mapping/evl/utils/metrics.py:85
Method
collate
the collate function for the evaluation motion dataset
OmGPT/motion_mapping/evl/eval.py:438
Method
collate
the collate function for the evaluation motion dataset
OmGPT/motion_mapping/evl/eval_mm.py:236
Method
collate
the collate function for the evaluation motion dataset
OmGPT/motion_mapping/evl/eval_id_mm.py:179
Method
collate
the collate function for the combine motion dataset
OmGPT/motion_mapping/evl/motion_datasets/combine.py:138
Method
collate
the collate function for the human motion dataset. # TODO rename varible names in this function.
OmGPT/motion_mapping/exp/motion_datasets/smal.py:352
Method
collate
the collate function for the human motion dataset.
OmGPT/motion_mapping/exp/motion_datasets/datasets.py:353
Method
collate
the collate function for the combine motion dataset
OmGPT/motion_mapping/exp/motion_datasets/combine.py:143
Function
collate_smal
the collate function for the smal motion dataset
OmGPT/motion_mapping/evl/motion_datasets/utils.py:89
Function
collate_smpl
the collate function for the smpl motion dataset
OmGPT/motion_mapping/evl/motion_datasets/utils.py:56
Method
end_timer
end the timer and print the time
OmGPT/motion_mapping/evl/utils/loss_record.py:135
Method
epoch
(self, step=None)
OmGPT/motion_mapping/evl/utils/loss_record.py:121
Method
epoch
(self, step=None)
OmGPT/motion_mapping/exp/utils/loss_record.py:121
Function
euclidean_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
Function
eval_one_epoch
evaluate the model for one full epoch.
OmGPT/motion_mapping/exp/train.py:315
Function
evaluate_matching_score
(eval_wrapper, motion_loaders, file)
OmGPT/motion_mapping/evl/eval.py:50
Function
evaluate_matching_score
(eval_wrapper, motion_loaders, file)
OmGPT/motion_mapping/evl/eval_fid_out.py:51
Function
find_subject
solution from chatgpt about how to find subject.
OmGPT/motion_mapping/evl/motion_datasets/combine.py:270
Function
find_subject
solution from chatgpt about how to find subject.
OmGPT/motion_mapping/exp/motion_datasets/combine.py:278
Method
forward
(self, x)
OmGPT/motion_mapping/evl/motion_models/pos_encoding.py:57
Method
forward
input: ------ clip_feature : [bs, 512] the clip feature latent_feature : [bs, 49, 7, 16] the
OmGPT/motion_mapping/evl/motion_models/architecture.py:90
Method
forward
forward the latent
OmGPT/motion_mapping/evl/motion_models/architecture.py:142
Method
forward
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
Method
forward
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
Method
forward
forward the latent
OmGPT/motion_mapping/evl/motion_models/sem.py:51
Method
forward
forward function for the motion clip model inputs: ------- batch_data: dict batch data
OmGPT/motion_mapping/evl/motion_models/sem.py:139
Method
forward
forward function for the loss calculator
OmGPT/motion_mapping/evl/motion_models/sem.py:188
Method
forward
(self, x)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:115
Method
forward
(self, x)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:153
Method
forward
(self, idx, clip_feature)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:197
Method
forward
(self, x)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:246
Method
forward
inputs: ------- latent latent feature of shape (bs, num_frames / 4, 512)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:294
Method
forward
TODO clean this code
OmGPT/motion_mapping/exp/motion_models/motion_clip.py:159
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward_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
Method
forward_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
Function
generate_motions
generate motions from the data loader and network. mean while saving the motions inputs: ------- return: -------
OmGPT/motion_mapping/evl/eval.py:148
Function
generate_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
Function
generate_no_tail_index
generate the index of no tail vertices.
OmGPT/data_process/fit/main.py:362
Method
get_block_size
(self)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:58
Method
get_block_size
(self)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:185
Method
get_block_size
(self)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:234
Method
get_block_size
(self)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:282
Method
get_block_size
(self)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:351
Function
get_dataloader
get dataloader from args
OmGPT/motion_mapping/evl/motion_datasets/__init__.py:50
Function
get_dataloader
get dataloader from args
OmGPT/motion_mapping/exp/motion_datasets/__init__.py:51
Method
get_lambda
get the lambda at a certain step
OmGPT/motion_mapping/evl/motion_models/architecture.py:766
Function
init_weights
(m)
OmGPT/motion_mapping/exp/motion_models/motion_clip.py:32
Method
inv_transform
(self, data)
OmGPT/motion_mapping/evl/motion_datasets/datasets.py:229
Method
inv_transform
(self, data)
OmGPT/motion_mapping/exp/motion_datasets/datasets.py:284
Function
load_on_gpu
recursively load all tensors in a nested dictionary structure onto the gpu.
OmGPT/motion_mapping/exp/utils/utils.py:31
Function
main
the main function for visualizing the results
OmGPT/data_process/fit/visualize_results.py:63
Function
parse_args
parse args
OmGPT/motion_mapping/evl/utils/options.py:221
Function
parse_finetune_args
parse the args for finetuning
OmGPT/motion_mapping/evl/utils/options.py:277
Function
parse_finetune_args
parse the args for finetuning
OmGPT/motion_mapping/exp/utils/options.py:274
Function
process
the process function for parallel processing to process the animal motions.
OmGPT/data_process/joints/compute_6d_repr.py:136
Method
sample
(self, clip_feature, if_categorial=False)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:66
Method
save
(self, path)
OmGPT/motion_mapping/evl/utils/loss_record.py:125
Method
save
(self, path)
OmGPT/motion_mapping/exp/utils/loss_record.py:125
Function
save_smal_no_tail_faces
save the faces of smal model with no tail inputs: -------
OmGPT/data_process/fit/main.py:496
Method
scale
return the scale tensor
OmGPT/data_process/fit/main.py:97
← previous
next →
301–400 of 412, ranked by callers