Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xuehao-Gao/GUESS
/ functions
Functions
912 in github.com/Xuehao-Gao/GUESS
⨍
Functions
912
◇
Types & classes
142
↓ 1 callers
Method
_load
(self, ind, frame_ix)
mld/data/a2m/dataset.py:105
↓ 1 callers
Method
_load_joints3D
(self, ind, frame_ix)
mld/data/a2m/uestc.py:214
↓ 1 callers
Method
_load_rotvec
(self, ind, frame_ix)
mld/data/a2m/uestc.py:225
↓ 1 callers
Function
_mmd2_and_variance
(K_XX, K_XY, K_YY, unit_diagonal=False,
mld/models/metrics/utils.py:513
↓ 1 callers
Function
_no_grad_trunc_normal_
(tensor, mean, std, a, b)
mld/models/architectures/vision_transformer.py:85
↓ 1 callers
Method
_reset_parameters
(self)
mld/models/architectures/mld_denoiser.py:274
↓ 1 callers
Method
_reset_parameters
(self)
mld/models/operator/cross_attention.py:36
↓ 1 callers
Method
_reset_parameters
(self)
mld/models/operator/cross_attention.py:84
↓ 1 callers
Method
_reset_parameters
(self)
mld/models/operator/cross_attention.py:151
↓ 1 callers
Function
_test_hessian_penalty
A simple multi-layer test to verify the implementation. Function: G(z) = [z_0 * z_1, z_0**2 * z_1] Ground Truth Hessian Penalty: [4, 16 *
mld/models/tools/hessian_penalty.py:116
↓ 1 callers
Method
a2m_eval
(self, batch)
mld/models/modeltype/mld.py:901
↓ 1 callers
Method
action_to_label
(self, action)
mld/data/a2m/dataset.py:58
↓ 1 callers
Function
axis_angle_to_quaternion
Convert rotations given as axis/angle to quaternions. Args: axis_angle: Rotations given as a vector in axis angle form,
mld/tools/geometry.py:464
↓ 1 callers
Function
axis_angle_to_quaternion
Convert rotations given as axis/angle to quaternions. Args: axis_angle: Rotations given as a vector in axis angle form,
mld/utils/rotation_conversions.py:449
↓ 1 callers
Function
axis_angle_to_quaternion
Convert rotations given as axis/angle to quaternions. Args: axis_angle: Rotations given as a vector in axis angle form,
mld/data/a2m/utils/rotation_conversions.py:449
↓ 1 callers
Function
batch_compute_similarity_transform_torch
Computes a similarity transform (sR, t) that takes a set of 3D points S1 (3 x N) closest to a set of 3D points S2, where R is an 3x3 rota
mld/models/metrics/utils.py:267
↓ 1 callers
Function
calc_accel
Mean joint acceleration error often referred to as "Protocol #1" in many papers.
mld/models/metrics/utils.py:372
↓ 1 callers
Function
calc_mpjpe
(preds, target, align_inds=[0], sample_wise=True, trans=None)
mld/models/metrics/utils.py:354
↓ 1 callers
Function
calc_pampjpe
(preds, target, sample_wise=True, return_transform_mat=False)
mld/models/metrics/utils.py:389
↓ 1 callers
Function
calculate_kid
(real_activations, generated_activations)
mld/models/metrics/utils.py:602
↓ 1 callers
Function
calculate_multimodality_np
(activation, multimodality_times)
mld/models/metrics/utils.py:247
↓ 1 callers
Function
calculate_top_k
(mat, top_k)
mld/data/humanml/utils/metrics.py:22
↓ 1 callers
Function
canonicalize_joints
(joints, jointstype="mmm")
mld/render/blender/joints.py:288
↓ 1 callers
Function
collate
(batch)
mld/data/a2m/utils/tensors.py:23
↓ 1 callers
Function
collate_tensors
(batch)
mld/data/a2m/utils/tensors.py:10
↓ 1 callers
Function
compose_image
(img_list, col, row, img_size)
mld/data/humanml/utils/utils.py:122
↓ 1 callers
Method
compute_accuracy
(self, batch)
mld/models/architectures/uestc_stgcn.py:113
↓ 1 callers
Function
config_logger
(final_output_dir, time_str, phase, head)
mld/utils/logger.py:38
↓ 1 callers
Method
configure_metrics
(self)
mld/models/modeltype/base.py:132
↓ 1 callers
Function
cylinder_between
(t1, t2, r, mat)
mld/render/blender/joints.py:176
↓ 1 callers
Method
decode
(self, Zin, lengths: Optional[List[int]] = None)
mld/models/architectures/vposert_vae.py:72
↓ 1 callers
Method
decode
(self, z: Tensor, lengths: List[int])
mld/models/architectures/actor_vae.py:78
↓ 1 callers
Method
encode
:param Pin: Nx(numjoints*3) :param rep_type: 'matrot'/'aa' for matrix rotations or axis-angle :return:
mld/models/architectures/vposert_vae.py:62
↓ 1 callers
Method
encode
( self, features: Tensor, lengths: Optional[List[int]] = None )
mld/models/architectures/actor_vae.py:64
↓ 1 callers
Function
estimate_translation_np
This function is borrowed from https://github.com/nkolot/SPIN/utils/geometry.py Find camera translation that brings 3D joints S closest to 2
mld/utils/geometry.py:303
↓ 1 callers
Function
euclidean_distance_matrix
Params: -- matrix1: N1 x D -- matrix2: N2 x D Returns: -- dist: N1 x N2 dist[i, j] == distance(matrix
mld/data/humanml/utils/metrics.py:6
↓ 1 callers
Function
export_animated_mesh
(output_path)
scripts/fbx_output.py:233
↓ 1 callers
Function
export_animated_mesh
(output_path)
scripts/fbx_output_smplx.py:306
↓ 1 callers
Method
extract
(self, features)
mld/transforms/rots2rfeats/smplvelp.py:78
↓ 1 callers
Function
fixseed
(seed)
mld/utils/fixseed.py:6
↓ 1 callers
Method
flush
(self)
mld/tools/logging.py:26
↓ 1 callers
Method
forward
(self, s1_input)
mld/transforms/multi_scale_init.py:101
↓ 1 callers
Method
forward
(self, batch)
mld/models/modeltype/mld.py:248
↓ 1 callers
Method
forward_coupling
(self, q, k, v, seqlen=8)
mld/models/architectures/vision_transformer.py:271
↓ 1 callers
Method
forward_features
(self, x, seqlen=1)
mld/models/architectures/vision_transformer.py:532
↓ 1 callers
Method
forward_kinematics_cont6d
(self, cont6d_params, root_pos, skel_joints=None, do_root_R=True)
mld/data/humanml/common/skeleton.py:173
↓ 1 callers
Method
forward_kinematics_np
(self, quat_params, root_pos, skel_joints=None, do_root_R=True)
mld/data/humanml/common/skeleton.py:126
↓ 1 callers
Method
forward_post
(self, src, src_mask: Optional[Tensor] = None,
mld/models/operator/cross_attention.py:259
↓ 1 callers
Method
forward_post
(self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask:
mld/models/operator/cross_attention.py:323
↓ 1 callers
Method
forward_pre
(self, src, src_mask: Optional[Tensor] = None, src_key_padding_mask: O
mld/models/operator/cross_attention.py:274
↓ 1 callers
Method
forward_pre
(self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: Op
mld/models/operator/cross_attention.py:347
↓ 1 callers
Function
gaussian_filter1d
(_inputs, sigma, truncate=4.0)
mld/transforms/joints2jfeats/tools.py:58
↓ 1 callers
Method
gen_from_latent
(self, batch)
mld/models/modeltype/mld.py:300
↓ 1 callers
Function
generate_by_video
(visualization, reconstructions, generation, label_to_action_name, params, nats, nspa, t
mld/render/visualize.py:190
↓ 1 callers
Function
generate_by_video_sequences
(visualization, label_to_action_name, params, nats, nspa, tmp_path)
mld/render/visualize.py:687
↓ 1 callers
Function
generate_id
()
mld/tools/runid.py:10
↓ 1 callers
Function
get_WordVectorizer
(cfg, phase, dataset_name)
mld/data/get_data.py:45
↓ 1 callers
Method
get_adjacency
(self, strategy)
mld/models/architectures/uestc_stgcn.py:309
↓ 1 callers
Method
get_edge
(self, layout)
mld/models/architectures/uestc_stgcn.py:251
↓ 1 callers
Function
get_floor
(poses, jointstype="mmm")
mld/render/blender/joints.py:271
↓ 1 callers
Function
get_floor
(poses, jointstype="mmm")
mld/transforms/joints2jfeats/tools.py:33
↓ 1 callers
Function
get_forward_direction
(poses, jointstype="mmm")
mld/render/blender/joints.py:157
↓ 1 callers
Function
get_forward_direction
(poses, jointstype="mmm")
mld/transforms/joints2jfeats/tools.py:14
↓ 1 callers
Function
get_frameidx
(*, mode, nframes, exact_frame, frames_to_keep)
mld/render/blender/sampler.py:3
↓ 1 callers
Function
get_frameix_from_data_index
(num_frames: int, request_frames: Optional[int],
mld/data/sampling/frames.py:8
↓ 1 callers
Function
get_hop_distance
(num_node, edge, max_hop=1)
mld/models/architectures/uestc_stgcn.py:412
↓ 1 callers
Method
get_label
(self, ind)
mld/data/a2m/dataset.py:74
↓ 1 callers
Method
get_label_sample
(self, label, n=1, return_labels=Fa
mld/data/a2m/dataset.py:226
↓ 1 callers
Method
get_last_hidden_state
(self, texts: List[str], return_mask: bool = False
mld/models/architectures/mld_bert.py:186
↓ 1 callers
Method
get_mean_root
(self)
mld/render/blender/joints.py:74
↓ 1 callers
Function
get_metric_statistics
(values, replication_times)
test.py:32
↓ 1 callers
Function
get_module
(cfg, datamodule)
mld/models/get_model.py:12
↓ 1 callers
Function
get_module_config
(cfg_model, path="modules")
mld/config.py:7
↓ 1 callers
Function
get_obj_from_str
(string, reload=False)
mld/config.py:16
↓ 1 callers
Function
get_opt
(opt_path, device)
mld/data/humanml/utils/get_opt.py:29
↓ 1 callers
Method
get_pose_data
(self, data_index, frame_ix)
mld/data/a2m/dataset.py:69
↓ 1 callers
Function
get_root_idx
(joinstype)
mld/utils/joints.py:252
↓ 1 callers
Function
get_rotation
(theta=np.pi / 3)
mld/render/rendermotion.py:9
↓ 1 callers
Method
get_sequence_mat
(self, frac)
mld/render/blender/joints.py:68
↓ 1 callers
Function
get_smpl_faces
()
mld/render/renderer.py:22
↓ 1 callers
Function
get_timestep_embedding
This matches the implementation in Denoising Diffusion Probabilistic Models: Create sinusoidal timestep embeddings. :param timesteps: a 1-D
mld/models/architectures/tools/embeddings.py:245
↓ 1 callers
Function
get_trans_from_vibe
(vibe, index, use_z=True)
mld/data/a2m/uestc.py:31
↓ 1 callers
Function
get_z
Solves for the depth offset of the model to approx. orth with persp camera.
mld/data/a2m/uestc.py:15
↓ 1 callers
Function
guess_init_3d
Initialize the camera translation via triangle similarity, by using the torso joints . :param model_joints: SMPL model with pre joints
mld/transforms/joints2rots/smplify.py:20
↓ 1 callers
Function
init
()
mld/data/humanml/utils/plot_script.py:42
↓ 1 callers
Function
init_axis
(fig, title, radius=1.5, dist=10)
mld/render/anim.py:12
↓ 1 callers
Function
is_float
(numStr)
mld/data/humanml/utils/get_opt.py:8
↓ 1 callers
Function
is_number
(numStr)
mld/data/humanml/utils/get_opt.py:21
↓ 1 callers
Function
lengths_to_mask
(lengths)
mld/utils/tensors.py:4
↓ 1 callers
Function
lengths_to_mask
(lengths)
mld/data/a2m/utils/tensors.py:4
↓ 1 callers
Function
list_cut_average
(ll, intervals)
mld/data/humanml/utils/utils.py:148
↓ 1 callers
Function
load_and_remove_chumpy_dep
(path)
prepare/merge_smplh_mano.py:40
↓ 1 callers
Function
load_example_input
(txt_path)
mld/utils/demo_utils.py:6
↓ 1 callers
Method
load_in_blender
(self, index, mats)
mld/render/blender/joints.py:77
↓ 1 callers
Function
load_npz_into_dict
(path)
prepare/merge_smplh_mano.py:50
↓ 1 callers
Function
load_numpy_vertices_into_blender
(vertices, faces, name, mat)
mld/render/blender/tools.py:20
↓ 1 callers
Method
log_likelihood
Create graph operation for negative log-likelihood calculation
mld/transforms/joints2rots/prior.py:196
↓ 1 callers
Method
loss2logname
(self, loss: str, split: str)
mld/models/losses/mld.py:172
↓ 1 callers
Function
main
()
train.py:18
↓ 1 callers
Function
main
()
test.py:39
← previous
next →
201–300 of 912, ranked by callers