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
↓ 1 callers
Function
PE1d_sincos
:param d_model: dimension of the model :param length: length of positions :return: length*d_model position matrix
OmGPT/motion_mapping/evl/motion_models/pos_encoding.py:27
↓ 1 callers
Method
__init__
(self, list_filepath)
OmGPT/motion_mapping/evl/motion_datasets/smal.py:218
↓ 1 callers
Method
__init__
(self, list_filepath)
OmGPT/motion_mapping/exp/motion_datasets/smal.py:220
↓ 1 callers
Method
__init__
args provides: normalize_text_clip num_layers
OmGPT/motion_mapping/exp/motion_models/motion_clip.py:50
↓ 1 callers
Method
__init__
(self, args)
OmGPT/motion_mapping/exp/motion_models/architecture.py:47
↓ 1 callers
Function
_add_eval_misc
some evaluation about the lossy evalution
OmGPT/motion_mapping/evl/utils/options.py:359
↓ 1 callers
Function
_add_eval_path
add evaluation path
OmGPT/motion_mapping/evl/utils/options.py:294
↓ 1 callers
Function
_add_finetune_path
add finetune
OmGPT/motion_mapping/evl/utils/options.py:241
↓ 1 callers
Function
_add_finetune_path
add finetune
OmGPT/motion_mapping/exp/utils/options.py:238
↓ 1 callers
Function
_add_loss_weights
add the weights for each loss
OmGPT/motion_mapping/evl/utils/options.py:115
↓ 1 callers
Function
_add_loss_weights
add the weights for each loss
OmGPT/motion_mapping/exp/utils/options.py:112
↓ 1 callers
Function
_add_misc
add some freq related options.
OmGPT/motion_mapping/evl/utils/options.py:196
↓ 1 callers
Function
_add_motion_clip_loss_weights
add the weights for each loss. this is copied from motion clip. include lambda_rc, lambda_rcxyz, lambda_vel, lambda_velxyz
OmGPT/motion_mapping/exp/utils/options.py:319
↓ 1 callers
Function
_add_motion_clip_model
add args for motion clip model
OmGPT/motion_mapping/exp/utils/options.py:291
↓ 1 callers
Function
_add_optim
add options for optimization setting
OmGPT/motion_mapping/evl/utils/options.py:106
↓ 1 callers
Function
_add_path
add the path for data loading, model training, result saving
OmGPT/motion_mapping/evl/utils/options.py:43
↓ 1 callers
Function
_check_and_make_eval_dirs
check the load file path exist. make the evaluation save path.
OmGPT/motion_mapping/evl/utils/options.py:344
↓ 1 callers
Function
_check_and_make_finetune_dirs
check the load file path exist. make the finetune save path.
OmGPT/motion_mapping/evl/utils/options.py:265
↓ 1 callers
Function
_check_and_make_finetune_dirs
check the load file path exist. make the finetune save path.
OmGPT/motion_mapping/exp/utils/options.py:262
↓ 1 callers
Function
_check_empty_file
check if the file is empty. args file_path: str, the path of the file. returns bool, True if the file is empty.
OmGPT/motion_mapping/evl/motion_datasets/smal.py:196
↓ 1 callers
Function
_check_empty_file
check if the file is empty. args file_path: str, the path of the file. returns bool, True if the file is empty.
OmGPT/motion_mapping/exp/motion_datasets/smal.py:198
↓ 1 callers
Function
_check_generated_motion_number
check that the generated motion has the same number as the caption
OmGPT/motion_mapping/evl/eval_id_real.py:59
↓ 1 callers
Function
_check_generated_motion_number
check that the generated motion has the same number as the caption
OmGPT/motion_mapping/evl/eval_id.py:59
↓ 1 callers
Method
_collate_smal
the collate function for the smal motion dataset
OmGPT/motion_mapping/evl/motion_datasets/combine.py:236
↓ 1 callers
Method
_collate_smal
the collate function for the smal motion dataset
OmGPT/motion_mapping/exp/motion_datasets/combine.py:244
↓ 1 callers
Method
_collate_smpl
the collate function for the smpl motion dataset
OmGPT/motion_mapping/evl/motion_datasets/combine.py:204
↓ 1 callers
Method
_collate_smpl
the collate function for the smpl motion dataset
OmGPT/motion_mapping/exp/motion_datasets/combine.py:212
↓ 1 callers
Method
_compute_cos_loss
compute the cosine similarity loss
OmGPT/motion_mapping/evl/motion_models/sem.py:179
↓ 1 callers
Function
_compute_diversity
compute diversity
OmGPT/motion_mapping/evl/eval.py:526
↓ 1 callers
Function
_compute_diversity
compute diversity
OmGPT/motion_mapping/evl/eval_fid_out.py:330
↓ 1 callers
Method
_compute_fake_smal_forward
( self, f_smal_rec, smpl_motions, )
OmGPT/motion_mapping/exp/motion_models/architecture.py:497
↓ 1 callers
Method
_compute_lambdas
compute the lambdas
OmGPT/motion_mapping/evl/motion_models/architecture.py:749
↓ 1 callers
Method
_compute_lossy_vel_loss
compute the lossy velocity loss
OmGPT/motion_mapping/evl/motion_models/architecture.py:864
↓ 1 callers
Method
_compute_lossy_vel_loss
compute the lossy velocity loss
OmGPT/motion_mapping/exp/motion_models/architecture.py:489
↓ 1 callers
Function
_compute_mm
compute multimodality from prediction
OmGPT/motion_mapping/evl/eval_mm.py:304
↓ 1 callers
Function
_compute_r
compute r precision
OmGPT/motion_mapping/evl/eval.py:500
↓ 1 callers
Function
_compute_r
compute r precision
OmGPT/motion_mapping/evl/eval_fid_out.py:304
↓ 1 callers
Method
_compute_vel_loss
compute the velocity loss
OmGPT/motion_mapping/exp/motion_models/motion_clip.py:265
↓ 1 callers
Function
_convert_path
(original_path)
OmGPT/motion_mapping/evl/motion_datasets/smal.py:182
↓ 1 callers
Function
_convert_path
(original_path)
OmGPT/motion_mapping/exp/motion_datasets/smal.py:184
↓ 1 callers
Function
_convert_seconds
convert seconds to days, hours, minutes, seconds.
OmGPT/motion_mapping/evl/utils/loss_record.py:30
↓ 1 callers
Function
_convert_seconds
convert seconds to days, hours, minutes, seconds.
OmGPT/motion_mapping/exp/utils/loss_record.py:30
↓ 1 callers
Function
_create_dataloader
create dataloader only for mm evaluation.
OmGPT/motion_mapping/evl/eval_mm.py:264
↓ 1 callers
Function
_create_dataloader
create dataloader from the caption path and generated motion path
OmGPT/motion_mapping/evl/eval_fid_out.py:267
↓ 1 callers
Function
_create_dataloader
create dataloader only for mm evaluation.
OmGPT/motion_mapping/evl/eval_id_mm.py:207
↓ 1 callers
Function
_create_loss_recorder
create the loss recorder
OmGPT/motion_mapping/exp/eval.py:61
↓ 1 callers
Function
_create_loss_recorder
create the loss recorder
OmGPT/motion_mapping/exp/train.py:60
↓ 1 callers
Method
_encode_tokens
(self, tokens)
OmGPT/motion_mapping/evl/motion_models/sem.py:99
↓ 1 callers
Function
_generate_unique_name
Generate a unique name by adding a random prefix to the base name.
OmGPT/motion_mapping/evl/motion_datasets/datasets.py:64
↓ 1 callers
Function
_generate_unique_name
Generate a unique name by adding a random prefix to the base name.
OmGPT/motion_mapping/exp/motion_datasets/datasets.py:66
↓ 1 callers
Method
_get_caption_from_filepath
get the caption from the file name
OmGPT/motion_mapping/evl/motion_datasets/smal.py:109
↓ 1 callers
Method
_get_caption_from_filepath
get the caption from the file name
OmGPT/motion_mapping/exp/motion_datasets/smal.py:111
↓ 1 callers
Function
_get_list_generated_motion_path
get the list of generated motion path.
OmGPT/motion_mapping/evl/eval.py:223
↓ 1 callers
Function
_get_match_score
get the match score of the generated motions
OmGPT/motion_mapping/evl/eval.py:119
↓ 1 callers
Function
_get_match_score
get the match score of the generated motions
OmGPT/motion_mapping/evl/eval_fid_out.py:120
↓ 1 callers
Method
_get_text_path
get the text path from the maa path
OmGPT/motion_mapping/evl/motion_datasets/datasets.py:86
↓ 1 callers
Method
_get_text_path
get the text path from the maa path
OmGPT/motion_mapping/exp/motion_datasets/datasets.py:88
↓ 1 callers
Function
_get_top_k
get top k of the generated motions
OmGPT/motion_mapping/evl/eval.py:133
↓ 1 callers
Function
_get_top_k
get top k of the generated motions
OmGPT/motion_mapping/evl/eval_fid_out.py:134
↓ 1 callers
Method
_get_vel_and_xyz
OmGPT/motion_mapping/evl/motion_models/architecture.py:371
↓ 1 callers
Method
_get_vel_and_xyz
OmGPT/motion_mapping/exp/motion_models/architecture.py:209
↓ 1 callers
Method
_handle_motion
Process motion data and update the data structures.
OmGPT/motion_mapping/evl/motion_datasets/datasets.py:101
↓ 1 callers
Method
_handle_motion
Process motion data and update the data structures.
OmGPT/motion_mapping/exp/motion_datasets/datasets.py:103
↓ 1 callers
Method
_init_sem_head
initialize the semantic head
OmGPT/motion_mapping/evl/motion_models/sem.py:102
↓ 1 callers
Function
_is_valid_motion_length
Check if the motion's length is within the valid range.
OmGPT/motion_mapping/evl/motion_datasets/smal.py:42
↓ 1 callers
Function
_is_valid_motion_length
Check if the motion's length is within the valid range.
OmGPT/motion_mapping/exp/motion_datasets/smal.py:44
↓ 1 callers
Function
_lengths_to_mask
convert lengths to mask
OmGPT/motion_mapping/exp/motion_datasets/utils.py:29
↓ 1 callers
Method
_load_and_freeze_clip
(self, clip_version)
OmGPT/motion_mapping/evl/motion_datasets/combine.py:55
↓ 1 callers
Method
_load_and_freeze_clip
(self, clip_version)
OmGPT/motion_mapping/evl/motion_models/architecture.py:284
↓ 1 callers
Method
_load_and_freeze_clip
(self, clip_version)
OmGPT/motion_mapping/evl/motion_models/sem.py:83
↓ 1 callers
Method
_load_and_freeze_clip
(self, clip_version)
OmGPT/motion_mapping/exp/motion_datasets/combine.py:56
↓ 1 callers
Method
_load_and_freeze_clip
(self, clip_version)
OmGPT/motion_mapping/exp/motion_models/motion_clip.py:127
↓ 1 callers
Method
_load_and_freeze_clip
(self, clip_version)
OmGPT/motion_mapping/exp/motion_models/architecture.py:122
↓ 1 callers
Method
_load_and_unfreeze_clip
(self, clip_version)
OmGPT/motion_mapping/exp/motion_models/motion_clip.py:113
↓ 1 callers
Method
_load_animal_id
load animal id from meta file.
OmGPT/motion_mapping/evl/eval.py:354
↓ 1 callers
Method
_load_animal_id
load animal id from meta file.
OmGPT/motion_mapping/evl/eval_mm.py:146
↓ 1 callers
Method
_load_animal_id
load animal id from meta file.
OmGPT/motion_mapping/evl/eval_id_mm.py:123
↓ 1 callers
Method
_load_caption
load caption from the caption file path.
OmGPT/motion_mapping/evl/eval.py:304
↓ 1 callers
Method
_load_caption
load caption from the caption file path.
OmGPT/motion_mapping/evl/eval_mm.py:99
↓ 1 callers
Method
_load_caption
load caption from the caption file path.
OmGPT/motion_mapping/evl/eval_id_mm.py:64
↓ 1 callers
Method
_load_gmotion
load generated motion from the generated motion file path.
OmGPT/motion_mapping/evl/eval.py:322
↓ 1 callers
Method
_load_gmotion
load generated motion from the generated motion file path.
OmGPT/motion_mapping/evl/eval_mm.py:117
↓ 1 callers
Method
_load_gmotion
load generated motion from the generated motion file path.
OmGPT/motion_mapping/evl/eval_id_mm.py:82
↓ 1 callers
Method
_load_motion_length
load motion length from the caption file path.
OmGPT/motion_mapping/evl/eval.py:313
↓ 1 callers
Method
_load_motion_length
load motion length from the caption file path.
OmGPT/motion_mapping/evl/eval_mm.py:108
↓ 1 callers
Method
_load_motion_length
load motion length from the caption file path.
OmGPT/motion_mapping/evl/eval_id_mm.py:73
↓ 1 callers
Function
_load_motion_mapping
load the pretrained SMPL autoencoder
OmGPT/motion_mapping/evl/eval_fid_out.py:107
↓ 1 callers
Method
_load_offset
load offset from animal id
OmGPT/motion_mapping/evl/eval.py:363
↓ 1 callers
Method
_load_offset
load offset from animal id
OmGPT/motion_mapping/evl/eval_mm.py:155
↓ 1 callers
Method
_load_offset
load offset from animal id
OmGPT/motion_mapping/evl/eval_id_mm.py:132
↓ 1 callers
Function
_parse_line
Parse a single line and return extracted details.
OmGPT/motion_mapping/evl/motion_datasets/datasets.py:44
↓ 1 callers
Function
_parse_line
Parse a single line and return extracted details.
OmGPT/motion_mapping/exp/motion_datasets/datasets.py:46
↓ 1 callers
Method
_parse_text_file
( self, text_file: str, motion: np.ndarray, )
OmGPT/motion_mapping/evl/motion_datasets/datasets.py:123
↓ 1 callers
Method
_parse_text_file
( self, text_file: str, motion: np.ndarray, )
OmGPT/motion_mapping/exp/motion_datasets/datasets.py:125
↓ 1 callers
Method
_process_motion_to_maa
the current motion is represented as 321 and the motion should be 36*6
OmGPT/motion_mapping/evl/eval.py:329
↓ 1 callers
Method
_process_motion_to_maa
the current motion is represented as 321 and the motion should be 36*6
OmGPT/motion_mapping/evl/eval_mm.py:134
↓ 1 callers
Method
_process_motion_to_maa
the current motion is represented as 321 and the motion should be 36*6
OmGPT/motion_mapping/evl/eval_id_mm.py:100
↓ 1 callers
Function
_recover_text_from_tokens
recover the text from the tokens. this function is used for create caption of the visualzation.
OmGPT/motion_mapping/evl/utils/utils.py:53
↓ 1 callers
Function
_recover_text_from_tokens
recover the text from the tokens. this function is used for create caption of the visualzation.
OmGPT/motion_mapping/exp/eval.py:106
↓ 1 callers
Function
_recover_text_from_tokens
recover the text from the tokens. this function is used for create caption of the visualzation.
OmGPT/motion_mapping/exp/train.py:105
← previous
next →
101–200 of 412, ranked by callers