MCPcopy Create free account

hub / github.com/705062791/PGBIG / functions

Functions88 in github.com/705062791/PGBIG

↓ 6 callersMethod__len__
(self)
utils/amass.py:136
↓ 6 callersFunctionrun_model
(net_pred, optimizer=None, is_train=0, data_loader=None, epo=1, opt=None, dim_used=None)
main_cmu_3d.py:205
↓ 5 callersMethodparse
(self, makedir=True)
utils/opt.py:71
↓ 5 callersFunctionrun_model
(net_pred, optimizer=None, is_train=0, data_loader=None, epo=1, opt=None, dim_used=None)
main_3dpw_3d.py:163
↓ 5 callersFunctionrun_model
(net_pred, optimizer=None, is_train=0, data_loader=None, epo=1, opt=None)
main_h36m_3d.py:177
↓ 4 callersMethod__init__
:param input_feature: num of input feature :param hidden_feature: num of hidden feature :param p_dropout: drop out prob.
model/BaseModel.py:110
↓ 4 callersFunctionreadCSVasFloat
Borrowed from SRNN code. Reads a csv and returns a float matrix. https://github.com/asheshjain399/NeuralModels/blob/master/neuralmodels/utils
utils/data_utils.py:197
↓ 3 callersMethod__len__
(self)
utils/CMU_motion_3d.py:42
↓ 3 callersFunctionexpmap2xyz_torch_cmu
(opt, expmap)
utils/data_utils.py:715
↓ 3 callersFunctionsmooth
data:[bs, 60, 96]
main_3dpw_3d.py:153
↓ 3 callersFunctionsmooth
data:[bs, 60, 96]
main_cmu_3d.py:195
↓ 3 callersFunctionsmooth
data:[bs, 60, 96]
main_h36m_3d.py:168
↓ 2 callersFunctionfkl
Convert joint angles and bone lenghts into the 3d points of a person. adapted from https://github.com/una-dinosauria/human-motion-predic
utils/forward_kinematics.py:7
↓ 2 callersFunctionwith_zeros
Append a [0, 0, 0, 1] tensor to a [3, 4] tensor. Parameter: --------- x: Tensor to be appended. Return: ------ Tensor a
utils/ang2joint.py:88
↓ 1 callersMethod_initial
(self)
utils/opt.py:16
↓ 1 callersMethod_print
(self)
utils/opt.py:66
↓ 1 callersFunction_some_variables
borrowed from https://github.com/una-dinosauria/human-motion-prediction/blob/master/src/forward_kinematics.py#L100 We define some variab
utils/forward_kinematics.py:68
↓ 1 callersFunctioneval
(opt)
main_3dpw_3d.py:119
↓ 1 callersFunctioneval
(opt)
main_cmu_3d.py:136
↓ 1 callersFunctioneval
(opt)
main_h36m_3d.py:117
↓ 1 callersFunctionfkl_torch
pytorch version of fkl. convert joint angles to joint locations batch pytorch version of the fkl() method above :param angles: N*99
utils/forward_kinematics.py:219
↓ 1 callersFunctionmain
(opt)
main_3dpw_3d.py:15
↓ 1 callersFunctionmain
(opt)
main_cmu_3d.py:15
↓ 1 callersFunctionmain
(opt)
main_h36m_3d.py:19
↓ 1 callersFunctionmain
()
utils/forward_kinematics.py:244
↓ 1 callersFunctionquat2expmap
Converts a quaternion to an exponential map Matlab port to python for evaluation purposes https://github.com/asheshjain399/RNNexp/blob/sr
utils/data_utils.py:97
↓ 1 callersMethodreset_parameters
(self)
model/BaseModel.py:33
↓ 1 callersFunctionrodrigues
Rodrigues' rotation formula that turns axis-angle tensor into rotation matrix in a batch-ed manner. Parameter: ---------- r: Axi
utils/ang2joint.py:55
↓ 1 callersFunctionrotmat2quat
Converts a rotation matrix to a quaternion Matlab port to python for evaluation purposes https://github.com/asheshjain399/RNNexp/blob/srn
utils/data_utils.py:43
↓ 1 callersFunctionunNormalizeData
Borrowed from SRNN code. Reads a csv file and returns a float32 matrix. https://github.com/asheshjain399/RNNexp/blob/srnn/structural_rnn/CRFProble
utils/data_utils.py:128
Method__getitem__
(self, item)
utils/CMU_motion_3d.py:45
Method__getitem__
(self, item)
utils/h36motion3d.py:128
Method__getitem__
(self, item)
utils/h36motion.py:121
Method__getitem__
(self, item)
utils/amass.py:139
Method__getitem__
(self, item)
utils/dpw3_3d.py:68
Method__init__
(self, opt, split, actions='all')
utils/CMU_motion_3d.py:8
Method__init__
(self)
utils/opt.py:12
Method__init__
:param path_to_data: :param actions: :param input_n: :param output_n: :param dct_used: :param split:
utils/h36motion3d.py:9
Method__init__
:param path_to_data: :param actions: :param input_n: :param output_n: :param dct_used: :param split:
utils/h36motion.py:11
Method__init__
:param path_to_data: :param actions: :param input_n: :param output_n: :param dct_used: :param split:
utils/amass.py:14
Method__init__
(self, opt, actions=None, split=0)
utils/dpw3_3d.py:14
Method__init__
(self, in_c, out_c, node_n = 22, seq_len = 35, bias=True)
model/BaseModel.py:16
Method__init__
Define a residual block of GCN
model/BaseModel.py:69
Method__init__
:param input_feature: num of input feature :param hidden_feature: num of hidden feature :param p_dropout: drop out prob.
model/BaseModel.py:157
Method__init__
:param input_feature: num of input feature :param hidden_feature: num of hidden feature :param p_dropout: drop out prob.
model/BaseModel.py:204
Method__init__
(self, opt)
model/stage_4.py:17
Method__len__
(self)
utils/h36motion3d.py:125
Method__len__
(self)
utils/h36motion.py:118
Method__len__
(self)
utils/dpw3_3d.py:65
Method__repr__
(self)
model/BaseModel.py:62
Method__repr__
(self)
model/BaseModel.py:104
Function_some_variables_cmu
We define some variables that are useful to run the kinematic tree Args None Returns parent: 32-long vector with parent-chil
utils/forward_kinematics.py:138
Functionang2joint
:param p3d0:[batch_size, joint_num, 3] :param pose:[batch_size, joint_num, 3] :param parent: :return:
utils/ang2joint.py:4
Functiondefine_actions
Define the list of actions we are using. Args action: String with the passed action. Could be "all" Returns actions: List of
utils/data_utils.py:279
Functiondefine_actions_cmu
Define the list of actions we are using. Args action: String with the passed action. Could be "all" Returns actions: List of
utils/data_utils.py:310
Functionexpmap2quat_torch
Converts expmap to quaternion batch pytorch version ported from the corresponding numpy method above :param R: N*3 :return: N*4
utils/data_utils.py:667
Functionexpmap2rotmat
Converts an exponential map angle to a rotation matrix Matlab port to python for evaluation purposes I believe this is also called Rodrig
utils/data_utils.py:77
Functionexpmap2rotmat_torch
Converts expmap matrix to rotation batch pytorch version ported from the corresponding method above :param r: N*3 :return: N*3*3
utils/data_utils.py:683
Functionexpmap2xyz_torch
convert expmaps to joint locations :param expmap: N*99 :return: N*32*3
utils/data_utils.py:705
Functionfind_indices_n
Adapted from https://github.com/una-dinosauria/human-motion-prediction/blob/master/src/seq2seq_model.py#L478 which originaly from In ord
utils/data_utils.py:732
Functionfind_indices_srnn
Adapted from https://github.com/una-dinosauria/human-motion-prediction/blob/master/src/seq2seq_model.py#L478 which originaly from In ord
utils/data_utils.py:766
Methodforward
(self, input)
model/BaseModel.py:41
Methodforward
(self, x)
model/BaseModel.py:86
Methodforward
(self, x)
model/BaseModel.py:136
Methodforward
(self, x)
model/BaseModel.py:183
Methodforward
(self, x)
model/BaseModel.py:231
Methodforward
(self, src, input_n=10, output_n=10, itera=1)
model/stage_4.py:86
Functionget_dct_matrix
(N)
utils/data_utils.py:720
Functionget_dct_matrix
(N)
utils/util.py:58
Functionload_data_cmu
(path_to_dataset, actions, input_n, output_n, data_std=0, data_mean=0, is_test=False)
utils/data_utils.py:333
Functionload_data_cmu_3d_8
(opt, path_to_dataset, actions, input_n, output_n, data_std=0, data_mean=0, is_test=False)
utils/data_utils.py:397
Functionload_data_cmu_3d_all
(opt, path_to_dataset, actions, input_n, output_n, is_test=False)
utils/data_utils.py:541
Functionload_data_cmu_3d_n
(opt, path_to_dataset, actions, input_n, output_n, is_test=False)
utils/data_utils.py:468
Functionlr_decay_mine
(optimizer, lr_now, gamma)
utils/util.py:5
Functionnormalization_stats
Also borrowed for SRNN code. Computes mean, stdev and dimensions to ignore. https://github.com/asheshjain399/RNNexp/blob/srnn/structural_rnn/
utils/data_utils.py:252
Functionnormalize_data
Normalize input data by removing unused dimensions, subtracting the mean and dividing by the standard deviation Args data: nx99 ma
utils/data_utils.py:218
Functionopt_cam
:param x: N K 3 or N K 2 :param x_target: N K 3 or N K 2 :return:
utils/util.py:25
Functionorth_project
:param cam: b*[s,tx,ty] :param pts: b*k*3 :return:
utils/util.py:12
Functionpack
Append zero tensors of shape [4, 3] to a batch of [4, 1] shape tensor. Parameter: ---------- x: A tensor of shape [batch_size, 4, 1]
utils/ang2joint.py:108
Functionrevert_output_format
Converts the output of the neural network to a format that is more easy to manipulate for, e.g. conversion to other format or visualization
utils/data_utils.py:167
Functionrotmat2euler
Converts a rotation matrix to Euler angles Matlab port to python for evaluation purposes https://github.com/asheshjain399/RNNexp/blob/srn
utils/data_utils.py:11
Functionrotmat2euler_torch
Converts a rotation matrix to euler angles batch pytorch version ported from the corresponding numpy method above :param R:N*3*3 :re
utils/data_utils.py:595
Functionrotmat2expmap
(R)
utils/data_utils.py:73
Functionrotmat2quat_torch
Converts a rotation matrix to quaternion batch pytorch version ported from the corresponding numpy method above :param R: N * 3 * 3 :
utils/data_utils.py:640
Functionsave_ckpt
(state, is_best=True, file_name=['ckpt_best.pth.tar', 'ckpt_last.pth.tar'], opt=None)
utils/log.py:39
Functionsave_csv_eval_log
(opt, head, value, is_create=False, file_name='test')
utils/log.py:24
Functionsave_csv_log
(opt, head, value, is_create=False, file_name='test')
utils/log.py:12
Functionsave_options
(opt)
utils/log.py:47