MCPcopy Create free account

hub / github.com/GuyTevet/CLoSD / functions

Functions2,247 in github.com/GuyTevet/CLoSD

↓ 2 callersMethodforward_v_net
(self, x)
closd/utils/smpllib/khrylib/models/video_state_net.py:72
↓ 2 callersMethodfps_convert
(self, mdm_jts, src_fps, trg_fps, interp_mode='bicubic')
closd/utils/rep_util.py:304
↓ 2 callersMethodfrom_dict
Read the object from an ordered dictionary :param dict_repr: the ordered dictionary that is used to construct the object :type dict_
closd/utils/poselib/poselib/core/tensor_utils.py:17
↓ 2 callersFunctiongaussian_filter1d
1-D Gaussian filter. Parameters ---------- %(input)s sigma : scalar standard deviation for Gaussian kernel %(axis)s o
closd/utils/filter_utils.py:36
↓ 2 callersMethodget_action
(self, obs_dict, is_determenistic=False)
closd/learning/im_amp.py:25
↓ 2 callersMethodget_action
(self, obs_dict, is_determenistic=False)
closd/learning/common_player.py:153
↓ 2 callersFunctionget_allowed_joint_options
(config_name)
closd/diffusion_planner/data_loaders/humanml/scripts/motion_process.py:666
↓ 2 callersFunctionget_angvel_fd
(prev_bquat, cur_bquat, dt)
closd/utils/smpllib/utils/math_utils.py:108
↓ 2 callersFunctionget_attr_val_from_sample
Retrieves param value for the given prop and attr from the sample.
closd/env/tasks/base_task.py:706
↓ 2 callersMethodget_body_com
(self, body_name)
closd/utils/smpllib/khrylib/rl/envs/common/mujoco_env.py:165
↓ 2 callersFunctionget_body_qveladdr
(model)
closd/utils/smpllib/khrylib/utils/mujoco.py:3
↓ 2 callersFunctionget_cond_mode
(args)
closd/diffusion_planner/utils/parser_util.py:305
↓ 2 callersFunctionget_cont6d_params
(positions)
closd/diffusion_planner/data_loaders/humanml/scripts/motion_process.py:102
↓ 2 callersMethodget_dir
(self)
closd/diffusion_planner/diffusion/logger.py:388
↓ 2 callersFunctionget_flat_params_from
(models)
closd/utils/smpllib/khrylib/utils/torch.py:90
↓ 2 callersFunctionget_heading_q_batch
(_q)
closd/utils/smpllib/utils/torch_utils.py:440
↓ 2 callersMethodget_joints_verts
Pose should be batch_size x 156
closd/utils/smpllib/smpllib/smpl_parser.py:485
↓ 2 callersMethodget_mesh_offsets
(self, zero_pose=None, betas=torch.zeros(1, 10), flatfoot=False)
closd/utils/smpllib/smpllib/smpl_parser.py:393
↓ 2 callersMethodget_motion_embeddings
(self, motions, m_lens)
closd/diffusion_planner/data_loaders/humanml/networks/evaluator_wrapper.py:177
↓ 2 callersMethodget_obs_size
(self)
closd/env/tasks/humanoid.py:471
↓ 2 callersMethodget_offsets_joints
(self, joints)
closd/diffusion_planner/data_loaders/humanml/common/skeleton.py:43
↓ 2 callersFunctionget_param_groups_and_shapes
(named_model_params)
closd/diffusion_planner/diffusion/fp16_util.py:82
↓ 2 callersFunctionget_qvel_fd
(cur_qpos, next_qpos, dt, transform=None)
closd/utils/smpllib/khrylib/utils/math.py:34
↓ 2 callersFunctionget_qvel_fd_new
(cur_qpos, next_qpos, dt, transform=None)
closd/utils/smpllib/utils/math_utils.py:61
↓ 2 callersFunctionget_rifke
Local pose
closd/diffusion_planner/data_loaders/humanml/scripts/motion_process.py:72
↓ 2 callersFunctionget_root_matrix
(poses)
closd/utils/smpllib/smpllib/smpl_eval.py:191
↓ 2 callersMethodget_root_pos_smpl
(self, motion_ids, motion_times)
closd/utils/motion_lib_base.py:516
↓ 2 callersMethodhml_to_pose
(self, pose, recon_data, sim_at_hml_idx)
closd/utils/rep_util.py:86
↓ 2 callersMethodinit_tensors
(self)
closd/learning/common_agent.py:81
↓ 2 callersFunctionis_point_in_rectangle_vectorized
Check if points are inside rectangles using vectorized operations. Args: points: torch.Tensor of shape [bs, 2] representing batched
closd/utils/rep_util.py:37
↓ 2 callersMethodjpos_new_2_smpl
(self, jpos)
closd/utils/smpllib/smpllib/smpl_mujoco.py:271
↓ 2 callersMethodkeep_nodes_by_names
(self, node_names: List[str], pairwise_translation=None)
closd/utils/poselib/poselib/skeleton/skeleton3d.py:248
↓ 2 callersFunctionlengths_to_mask
(lengths, max_len)
closd/diffusion_planner/data_loaders/tensors.py:3
↓ 2 callersMethodload_from_offsets
( self, offsets, parents, scale, exclude_bones=None, channels=
closd/utils/smpllib/khrylib/mocap/skeleton_bvh.py:205
↓ 2 callersMethodload_humanoid_configs
(self, cfg)
closd/env/tasks/humanoid.py:245
↓ 2 callersMethodlog_prob
(self, value)
closd/utils/smpllib/khrylib/rl/core/distributions.py:43
↓ 2 callersFunctionmake_master_params
Copy model parameters into a (differently-shaped) list of full-precision parameters.
closd/diffusion_planner/diffusion/fp16_util.py:35
↓ 2 callersFunctionmasked_goal_l2
(pred_goal, ref_goal, cond, all_goal_joint_names)
closd/diffusion_planner/utils/loss_util.py:34
↓ 2 callersFunctionmove_collection
(obj, src_col, trg_col)
closd/blender/blender_utils.py:12
↓ 2 callersFunctionnormal_kl
Compute the KL divergence between two gaussians. Shapes are automatically broadcasted, so batches can be compared to scalars, among othe
closd/diffusion_planner/diffusion/losses.py:12
↓ 2 callersFunctionnormalize_vector
( v, return_mag =False)
closd/utils/smpllib/utils/torch_geometry_transforms.py:618
↓ 2 callersFunctionnormalize_vector
(v, return_mag=False)
closd/utils/smpllib/utils/transform_utils.py:131
↓ 2 callersMethodobs_to_torch
(self, obs)
closd/learning/common_player.py:344
↓ 2 callersFunctionp_mpjpe
Pose error: MPJPE after rigid alignment (scale, rotation, and translation), often referred to as "Protocol #2" in many papers.
closd/utils/smpllib/smpllib/smpl_eval.py:56
↓ 2 callersMethodphysical_metrics
(self, pred_motion, lengths)
closd/diffusion_planner/data_loaders/humanml/motion_loaders/comp_v6_model_dataset.py:317
↓ 2 callersFunctionplot_skeleton_state
Visualize a skeleton state :param skeleton_state: :param task_name: :type skeleton_state: SkeletonState :type task_name: string,
closd/utils/poselib/poselib/visualization/common.py:15
↓ 2 callersMethodpose_to_hml_xyz
(self, pose, aux_ponts=None)
closd/utils/rep_util.py:183
↓ 2 callersMethodppo_loss
(self, states, actions, advantages, fixed_log_probs, ind)
closd/utils/smpllib/khrylib/rl/agents/agent_ppo.py:58
↓ 2 callersFunctionqeuler
Convert quaternion(s) q to Euler angles. Expects a tensor of shape (*, 4), where * denotes any number of dimensions. Returns a tensor of
closd/diffusion_planner/data_loaders/humanml/common/quaternion.py:78
↓ 2 callersFunctionquat_identity_like
Construct identity 3D rotation with the same shape
closd/utils/poselib/poselib/core/rotation3d.py:223
↓ 2 callersFunctionquaternion_about_axis
(angle, axis)
closd/utils/smpllib/utils/torch_utils.py:220
↓ 2 callersFunctionquaternion_from_matrix
Return quaternion from rotation matrix. If isprecise is True, the input matrix is assumed to be a precise rotation matrix and a faster algori
closd/utils/smpllib/khrylib/utils/transformation.py:1371
↓ 2 callersFunctionquaternion_inverse
(_q)
closd/utils/smpllib/utils/torch_utils.py:302
↓ 2 callersFunctionquaternion_matrix_batch
(_q)
closd/utils/smpllib/utils/torch_utils.py:191
↓ 2 callersFunctionquaternion_multiply
(_q1, _q0)
closd/utils/smpllib/utils/torch_utils.py:389
↓ 2 callersFunctionquaternion_to_matrix
Convert rotations given as quaternions to rotation matrices. Args: quaternions: quaternions with real part first, as ten
closd/utils/pytorch3d_transforms.py:39
↓ 2 callersFunctionquaternion_to_matrix
Convert rotations given as quaternions to rotation matrices. Args: quaternions: quaternions with real part first, as ten
closd/utils/smpllib/utils/rotation_conversions.py:39
↓ 2 callersFunctionquaternion_to_matrix
Convert rotations given as quaternions to rotation matrices. Args: quaternions: quaternions with real part first, as ten
closd/diffusion_planner/utils/rotation_conversions.py:38
↓ 2 callersFunctionquaternion_to_matrix
Convert rotations given as quaternions to rotation matrices. Args: quaternions: quaternions with real part first, as tens
closd/diffusion_planner/data_loaders/humanml/common/quaternion.py:276
↓ 2 callersFunctionrandom_quaternion
Return uniform random unit quaternion. rand: array like or None Three independent random variables that are uniformly distributed
closd/utils/smpllib/khrylib/utils/transformation.py:1584
↓ 2 callersFunctionrecover_root_rot_heading_ang
Get Forward Direction
closd/diffusion_planner/data_loaders/humanml/scripts/motion_process.py:398
↓ 2 callersFunctionrecover_root_rot_pos
(data)
closd/diffusion_planner/data_loaders/humanml/scripts/motion_process_torch.py:8
↓ 2 callersMethodrender
Render the current simulation state to the screen or off-screen buffer. Call this in your main loop.
closd/utils/smpllib/khrylib/rl/envs/common/mjviewer.py:169
↓ 2 callersMethodreport_args
(self, args, name)
closd/diffusion_planner/train/train_platforms.py:15
↓ 2 callersMethodreset
(self, env_ids=None)
closd/run.py:207
↓ 2 callersMethodreset
(self)
closd/utils/smpllib/khrylib/rl/envs/common/mujoco_env.py:95
↓ 2 callersFunctionrotation_from_quaternion
(_q, separate=False)
closd/utils/smpllib/utils/torch_utils.py:129
↓ 2 callersFunctionrotation_from_quaternion_batch
q: size(Bx4) Output: size(Bx3)
closd/utils/smpllib/utils/torch_utils.py:142
↓ 2 callersMethodsample
(self, min_batch_size)
closd/utils/smpllib/khrylib/rl/agents/agent.py:107
↓ 2 callersMethodsample_time_interval
(self, motion_ids, truncate_time=None)
closd/utils/motion_lib_base.py:408
↓ 2 callersFunctionsave_image
(image_numpy, image_path)
closd/diffusion_planner/data_loaders/humanml/utils/utils.py:23
↓ 2 callersMethodset_mode
(self, mode)
closd/utils/smpllib/khrylib/models/rnn.py:20
↓ 2 callersMethodset_random_target_loc
(self, env_ids, task)
closd/env/tasks/closd_sequence.py:176
↓ 2 callersMethodset_stats_weights
(self, weights)
closd/learning/amp_agent.py:64
↓ 2 callersMethodstep
Step the environment forward.
closd/utils/smpllib/khrylib/rl/envs/common/mujoco_env.py:72
↓ 2 callersFunctionsum_flat
Take the sum over all non-batch dimensions.
closd/diffusion_planner/diffusion/nn.py:93
↓ 2 callersMethodsync
(self, other)
closd/utils/poselib/poselib/visualization/common.py:83
↓ 2 callersMethodsync_node
(self)
closd/utils/smpllib/smpllib/smpl_local_robot.py:980
↓ 2 callersMethodto_dict
Construct an ordered dictionary from the object :rtype: OrderedDict
closd/utils/poselib/poselib/core/tensor_utils.py:27
↓ 2 callersMethodto_file
Write the object to a file (either .npy or .json) :param path: path of the file :type path: string
closd/utils/poselib/poselib/core/backend/abstract.py:114
↓ 2 callersFunctiontransform_inverse
Inverse transformation
closd/utils/poselib/poselib/core/rotation3d.py:301
↓ 2 callersFunctiontransform_vec
(v, q, trans="root")
closd/utils/smpllib/utils/math_utils_new.py:65
↓ 2 callersFunctionunflatten_master_params
(param_group, master_param)
closd/diffusion_planner/diffusion/fp16_util.py:78
↓ 2 callersMethodunfreeze
(self)
closd/utils/running_mean_std.py:48
↓ 2 callersMethodupdate
(self, frame_index=None, reset_trail=False, skeleton_motion=None)
closd/utils/poselib/poselib/visualization/skeleton_plotter_tasks.py:136
↓ 2 callersFunctionupdate_joint_limits
(joint_range)
closd/utils/smpllib/smpllib/smpl_local_robot.py:170
↓ 2 callersFunctionupdate_joint_limits_upright
(joint_range)
closd/utils/smpllib/smpllib/smpl_local_robot.py:241
↓ 2 callersMethodupdate_sampling_prob
(self, termination_history)
closd/utils/motion_lib_base.py:375
↓ 2 callersFunctionvertizalize_smpl_root
(poses, root_vec=[np.pi / 2, 0, 0])
closd/utils/smpllib/utils/transform_utils.py:143
↓ 2 callersMethodviewer_setup
This method is called when the viewer is initialized and after every reset Optionally implement this method, if you need to tinker wi
closd/utils/smpllib/khrylib/rl/envs/common/mujoco_env.py:85
↓ 2 callersMethodvisualize
(self, pose, out_path, is_prefix_comp=False, rep_type='hml', model_kwargs=None, prompts=None)
closd/env/tasks/closd.py:520
↓ 2 callersFunctionwrapped_getattr
should be called from wrappers of model classes such as ClassifierFreeSampleModel
closd/diffusion_planner/utils/misc.py:19
↓ 2 callersMethodwrite_xml_bodynode
(self, bone, parent_node, offset, ref_angles)
closd/utils/smpllib/khrylib/mocap/skeleton_local.py:247
↓ 2 callersFunctionzero_master_grads
(master_params)
closd/diffusion_planner/diffusion/fp16_util.py:128
↓ 1 callersMethod__init__
(self, insize, epsilon=1e-05, per_channel=False,
closd/utils/running_mean_std.py:11
↓ 1 callersMethod__init__
(self, cfg, filename, file_handle = True)
closd/utils/smpllib/utils/lightning_utils.py:30
↓ 1 callersMethod__init__
(self, probs=None, logits=None)
closd/utils/smpllib/khrylib/rl/core/distributions.py:30
↓ 1 callersMethod__init__
(self, sim)
closd/utils/smpllib/khrylib/rl/envs/common/mjviewer.py:129
↓ 1 callersMethod__init__
(self, input_dim, hidden_dims=(128, 128), activation='tanh')
closd/utils/smpllib/khrylib/models/mlp.py:6
↓ 1 callersMethod__init__
( self, task_name: str, dots: np.ndarray, color: str = "blue", marker_
closd/utils/poselib/poselib/visualization/simple_plotter_tasks.py:89
← previousnext →401–500 of 2,247, ranked by callers