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
_recover_text_from_tokens
recover the text from the tokens. this function is used for create caption of the visualzation.
OmGPT/motion_mapping/exp/utils/utils.py:53
↓ 1 callers
Function
_sample_two_list
sample two list with same length.
OmGPT/motion_mapping/evl/eval_fid_out.py:288
↓ 1 callers
Function
_save_one_epoch
save the activation for one epoch.
OmGPT/motion_mapping/evl/eval_id_real.py:105
↓ 1 callers
Function
_save_one_epoch
save the activation for one epoch.
OmGPT/motion_mapping/evl/eval_id.py:103
↓ 1 callers
Function
_swap_subjects
swap the subject in smpl and smal
OmGPT/motion_mapping/evl/motion_datasets/combine.py:279
↓ 1 callers
Function
_swap_subjects
swap the subject in smpl and smal
OmGPT/motion_mapping/exp/motion_datasets/combine.py:287
↓ 1 callers
Method
_tokenize_text
encode text with clip. inputs: ------- raw_text list (batch_size length) of strings with input text prom
OmGPT/motion_mapping/evl/eval.py:395
↓ 1 callers
Method
_tokenize_text
encode text with clip. inputs: ------- raw_text list (batch_size length) of strings with input text prom
OmGPT/motion_mapping/exp/motion_datasets/smal.py:318
↓ 1 callers
Method
_tokenize_text
encode text with clip. inputs: ------- raw_text list (batch_size length) of strings with input text prom
OmGPT/motion_mapping/exp/motion_datasets/datasets.py:245
↓ 1 callers
Function
_visualize_rec
visualize the reconstruction inputs: ------- rec_motions : [batch_size, num_frames, num_joints, ] the reconstructed motions
OmGPT/motion_mapping/exp/eval.py:136
↓ 1 callers
Function
_visualize_rec
visualize the reconstruction inputs: ------- rec_motions : [batch_size, num_frames, num_joints, ] the reconstructed motions
OmGPT/motion_mapping/exp/train.py:135
↓ 1 callers
Method
add_video
(self, val, step=None)
OmGPT/motion_mapping/evl/utils/loss_record.py:85
↓ 1 callers
Method
add_video
(self, val, step=None)
OmGPT/motion_mapping/exp/utils/loss_record.py:85
↓ 1 callers
Function
collate
(batch)
OmGPT/motion_mapping/evl/motion_datasets/combine.py:367
↓ 1 callers
Function
collate
(batch)
OmGPT/motion_mapping/exp/motion_datasets/combine.py:375
↓ 1 callers
Function
collate_smal
the collate function for the smal motion dataset
OmGPT/motion_mapping/exp/motion_datasets/utils.py:88
↓ 1 callers
Function
collate_smpl
the collate function for the smpl motion dataset
OmGPT/motion_mapping/exp/motion_datasets/utils.py:56
↓ 1 callers
Function
collate_tensors
(batch)
OmGPT/motion_mapping/evl/motion_datasets/combine.py:354
↓ 1 callers
Function
collate_tensors
(batch)
OmGPT/motion_mapping/exp/motion_datasets/combine.py:362
↓ 1 callers
Function
compute_offset_from_joints
compute the offset from the joints inputs: ------- joints: np.ndarray the joints position, shape: (num_joints, 3)
OmGPT/data_process/joints/compute_6d_repr.py:78
↓ 1 callers
Method
epoch
(self, step=None)
OmGPT/motion_mapping/evl/utils/loss_record.py:64
↓ 1 callers
Method
epoch
(self, step=None)
OmGPT/motion_mapping/exp/utils/loss_record.py:64
↓ 1 callers
Function
eval_one_epoch
evaluate the model for one full epoch.
OmGPT/motion_mapping/exp/eval.py:317
↓ 1 callers
Function
filter_tail
(vertices, no_tail_vertices, faces)
OmGPT/data_process/fit/main.py:186
↓ 1 callers
Function
find_template_smal_mesh
find the template smal mesh.
OmGPT/data_process/fit/main.py:557
↓ 1 callers
Method
forward
(self, idxs, clip_feature)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:61
↓ 1 callers
Method
forward
(self, idxs, clip_feature)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:354
↓ 1 callers
Method
forward_from_smal
forward from smal only dataset.
OmGPT/motion_mapping/evl/motion_models/architecture.py:678
↓ 1 callers
Method
forward_mm
only forward for mm evaluation. no caption is needed.
OmGPT/motion_mapping/evl/motion_models/architecture.py:705
↓ 1 callers
Function
gather_list_vertices
gather the vertices from the obj file paths
OmGPT/data_process/joints/main.py:42
↓ 1 callers
Function
get_beta_from_json
load beta from json file with the image path keyword.
OmGPT/data_process/fit/main.py:229
↓ 1 callers
Function
get_motion_name
get the motion name from the animal name
OmGPT/data_process/joints/compute_6d_repr.py:66
↓ 1 callers
Function
get_with_tail
get with_tail information from json file with img_keyword.
OmGPT/data_process/fit/main.py:247
↓ 1 callers
Function
init_smal_parameters
initialize betas_logscale, scale, theta, trans. only scale with one. others are with zero. inputs: ------- device: torch.device
OmGPT/data_process/fit/main.py:454
↓ 1 callers
Function
is_vertex_in_array
Determine if a given vertex is in an n x 3 numpy array of vertices. Parameters: - query_vertex (numpy array): Array representing the ver
OmGPT/data_process/fit/main.py:214
↓ 1 callers
Function
load_scale
load scale from the template
OmGPT/data_process/joints/compute_6d_repr.py:49
↓ 1 callers
Function
log_losses
log the losses to the SummaryWriter
OmGPT/motion_mapping/exp/eval.py:93
↓ 1 callers
Function
log_losses
log the losses to the SummaryWriter
OmGPT/motion_mapping/exp/train.py:92
↓ 1 callers
Function
main
main function for generate in distribution mean and cov
OmGPT/motion_mapping/evl/get_gt_fid.py:55
↓ 1 callers
Function
main
main function
OmGPT/motion_mapping/evl/eval.py:565
↓ 1 callers
Function
main
main function for generate in distribution mean and cov
OmGPT/motion_mapping/evl/generate_fid_in.py:89
↓ 1 callers
Function
main
the main function for evaluate the mm for ood of model
OmGPT/motion_mapping/evl/eval_mm.py:343
↓ 1 callers
Function
main
the main function for load the motion, model, and generate metric results
OmGPT/motion_mapping/evl/eval_id_real.py:132
↓ 1 callers
Function
main
main function
OmGPT/motion_mapping/evl/eval_fid_out.py:400
↓ 1 callers
Function
main
main function
OmGPT/motion_mapping/evl/eval_id.py:132
↓ 1 callers
Function
main
the main function for evaluate the mm for ood of model
OmGPT/motion_mapping/evl/eval_id_mm.py:228
↓ 1 callers
Function
main
main function for training the mapping between SMPL and SMAL
OmGPT/motion_mapping/exp/eval.py:435
↓ 1 callers
Function
main
main function for training the mapping between SMPL and SMAL
OmGPT/motion_mapping/exp/train.py:388
↓ 1 callers
Function
main
main function for procssing skeleton data
OmGPT/data_process/joints/compute_6d_repr.py:179
↓ 1 callers
Function
main
the main function to convert vertices to joints
OmGPT/data_process/joints/main.py:99
↓ 1 callers
Function
no_tail_vert_to_smal_vert
take some time to figure out the index.
OmGPT/data_process/fit/main.py:347
↓ 1 callers
Function
parse_args
parse args
OmGPT/motion_mapping/exp/utils/options.py:218
↓ 1 callers
Function
parse_motion_clip_args
parser the args for training motion clip.
OmGPT/motion_mapping/exp/utils/options.py:343
↓ 1 callers
Function
plot_obj
plot the obj file
OmGPT/data_process/fit/main.py:130
↓ 1 callers
Function
process_joint_to_6d
process the joints to 6d representation
OmGPT/data_process/joints/compute_6d_repr.py:97
↓ 1 callers
Function
process_motion_dir
process the SMAL obj file
OmGPT/data_process/joints/main.py:64
↓ 1 callers
Method
reset_max_len
(self, length)
OmGPT/motion_mapping/evl/motion_datasets/datasets.py:223
↓ 1 callers
Method
reset_max_len
(self, length)
OmGPT/motion_mapping/exp/motion_datasets/datasets.py:278
↓ 1 callers
Method
to_json
convert the internal data to json writable format
OmGPT/data_process/fit/main.py:117
↓ 1 callers
Function
train_one_epoch
train one epoch inputs: ------- step the global current step
OmGPT/motion_mapping/exp/train.py:262
↓ 1 callers
Function
transform_and_save_model
forward SMAL model and save the result to save_path
OmGPT/data_process/fit/main.py:522
↓ 1 callers
Function
visualize_optimization_results
visualize the optimization results of the given animal
OmGPT/data_process/fit/visualize_results.py:42
↓ 1 callers
Function
visualize_results
visualize the results
OmGPT/motion_mapping/exp/eval.py:233
↓ 1 callers
Function
visualize_results
visualize the results
OmGPT/motion_mapping/exp/train.py:232
Method
__getitem__
get item from the dataset
OmGPT/motion_mapping/evl/eval.py:431
Method
__getitem__
get item from the dataset
OmGPT/motion_mapping/evl/eval_mm.py:229
Method
__getitem__
get item from the dataset
OmGPT/motion_mapping/evl/eval_id_mm.py:172
Method
__getitem__
(self, index)
OmGPT/motion_mapping/evl/motion_datasets/smal.py:134
Method
__getitem__
(self, index)
OmGPT/motion_mapping/evl/motion_datasets/smal.py:263
Method
__getitem__
(self, item)
OmGPT/motion_mapping/evl/motion_datasets/datasets.py:237
Method
__getitem__
(self, index)
OmGPT/motion_mapping/evl/motion_datasets/combine.py:109
Method
__getitem__
(self, index)
OmGPT/motion_mapping/exp/motion_datasets/smal.py:136
Method
__getitem__
(self, index)
OmGPT/motion_mapping/exp/motion_datasets/smal.py:265
Method
__getitem__
(self, item)
OmGPT/motion_mapping/exp/motion_datasets/datasets.py:291
Method
__getitem__
(self, index)
OmGPT/motion_mapping/exp/motion_datasets/combine.py:113
Method
__init__
gmotion is short for generated motion
OmGPT/motion_mapping/evl/eval.py:371
Method
__init__
gmotion is short for generated motion
OmGPT/motion_mapping/evl/eval_mm.py:163
Method
__init__
gmotion is short for generated motion
OmGPT/motion_mapping/evl/eval_id_mm.py:140
Method
__init__
(self, name: str, writer: SummaryWriter)
OmGPT/motion_mapping/evl/utils/loss_record.py:50
Method
__init__
(self, name: str, writer: SummaryWriter)
OmGPT/motion_mapping/evl/utils/loss_record.py:80
Method
__init__
(self, writer: SummaryWriter)
OmGPT/motion_mapping/evl/utils/loss_record.py:100
Method
__init__
(self, list_filepath)
OmGPT/motion_mapping/evl/motion_datasets/smal.py:53
Method
__init__
(self, list_filepath)
OmGPT/motion_mapping/evl/motion_datasets/datasets.py:176
Method
__init__
(self, smpl_t2m_dataset, smal_t2m_dataset)
OmGPT/motion_mapping/evl/motion_datasets/combine.py:44
Method
__init__
(self, seq_length, dim, dropout, grad=False)
OmGPT/motion_mapping/evl/motion_models/pos_encoding.py:51
Method
__init__
(self, )
OmGPT/motion_mapping/evl/motion_models/architecture.py:53
Method
__init__
(self, num_layers)
OmGPT/motion_mapping/evl/motion_models/architecture.py:127
Method
__init__
inputs: ------- list_steps the list of steps list_lambdas the list of lambdas
OmGPT/motion_mapping/evl/motion_models/architecture.py:735
Method
__init__
(self, args)
OmGPT/motion_mapping/evl/motion_models/architecture.py:778
Method
__init__
(self, num_layers)
OmGPT/motion_mapping/evl/motion_models/sem.py:36
Method
__init__
(self, args)
OmGPT/motion_mapping/evl/motion_models/sem.py:173
Method
__init__
(self, num_vq=1024, embed_dim=512, clip_dim=512,
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:41
Method
__init__
(self, embed_dim=512, block_size=16, n_head=8, drop_out_rate=0.1)
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:98
Method
__init__
(self, num_vq=1024, embed_dim=512, clip_dim=512,
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:161
Method
__init__
(self, num_vq=1024, embed_dim=512, block_size=16,
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:216
Method
__init__
(self, num_vq=1024, embed_dim=512, clip_dim=512,
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:258
Method
__init__
(self, num_vq=511, embed_dim=512, clip_dim=512,
OmGPT/motion_mapping/evl/motion_models/t2m_trans.py:322
Method
__init__
(self, name: str, writer: SummaryWriter)
OmGPT/motion_mapping/exp/utils/loss_record.py:50
Method
__init__
(self, name: str, writer: SummaryWriter)
OmGPT/motion_mapping/exp/utils/loss_record.py:80
Method
__init__
(self, writer: SummaryWriter)
OmGPT/motion_mapping/exp/utils/loss_record.py:100
← previous
next →
201–300 of 412, ranked by callers