MCPcopy Create free account

hub / github.com/ZhengyiLuo/SMPLSim / functions

Functions1,205 in github.com/ZhengyiLuo/SMPLSim

↓ 216 callersMethodappend
(self, new_memory)
smpl_sim/learning/memory.py:23
↓ 95 callersMethodnumpy
(self)
smpl_sim/smpllib/motion_lib_smpl.py:40
↓ 59 callersMethodindex
get the index of the node :param node_name: the name of the node :type node_name: string :rtype: int
smpl_sim/poselib/skeleton/skeleton3d.py:204
↓ 38 callersMethodclone
(self)
smpl_sim/poselib/skeleton/skeleton3d.py:916
↓ 17 callersFunctiondenormalize_range
(value, lb, ub)
smpl_sim/smpllib/smpl_local_robot.py:53
↓ 14 callersFunctionnormalize_range
(value, lb, ub)
smpl_sim/smpllib/smpl_local_robot.py:49
↓ 14 callersFunctionquaternion_matrix
Return homogeneous rotation matrix from quaternion. >>> M = quaternion_matrix([0.99810947, 0.06146124, 0, 0]) >>> numpy.allclose(M, rotation_
smpl_sim/utils/transformation.py:1343
↓ 14 callersFunctionto_torch
(tensor)
smpl_sim/utils/torch_utils.py:472
↓ 13 callersMethodfrom_rotation_and_root_translation
Construct a skeleton state from rotation and root translation :param skeleton_tree: the skeleton tree :type skeleton_tree: S
smpl_sim/poselib/skeleton/skeleton3d.py:573
↓ 13 callersFunctionparse_vec
(string)
smpl_sim/smpllib/smpl_local_robot.py:40
↓ 13 callersMethodrender
(self)
smpl_sim/envs/base_env.py:102
↓ 13 callersFunctionvector_norm
Return length, i.e. Euclidean norm, of ndarray along axis. >>> v = numpy.random.random(3) >>> n = vector_norm(v) >>> numpy.allclose(n, nu
smpl_sim/utils/transformation.py:1812
↓ 12 callersFunctionangle_axis_to_rotation_matrix
Convert 3d vector of axis-angle rotation to 4x4 rotation matrix Args: angle_axis (Tensor): tensor of 3d vector of axis-angle rotations.
smpl_sim/utils/torch_geometry_transforms.py:121
↓ 11 callersMethodstep
(self, action)
smpl_sim/envs/base_env.py:86
↓ 10 callersFunctionunit_vector
Return ndarray normalized by length, i.e. Euclidean norm, along axis. >>> v0 = numpy.random.random(3) >>> v1 = unit_vector(v0) >>> numpy.
smpl_sim/utils/transformation.py:1851
↓ 10 callersMethodupdate
(self, x)
smpl_sim/learning/running_norm.py:22
↓ 9 callersMethodfrom_dict
(cls, dict_repr, *args, **kwargs)
smpl_sim/poselib/skeleton/skeleton3d.py:134
↓ 9 callersFunctionquat_rotate
Rotate a 3D vector with the 3D rotation
smpl_sim/poselib/core/rotation3d.py:206
↓ 9 callersMethodupdate
(self, skeleton_state)
smpl_sim/poselib/visualization/skeleton_plotter_tasks.py:43
↓ 8 callersMethodreset
(self, seed=None, options=None)
smpl_sim/envs/base_env.py:64
↓ 8 callersFunctiontensor_to_dict
Construct an ordered dictionary from the object :rtype: OrderedDict
smpl_sim/poselib/core/tensor_utils.py:34
↓ 8 callersFunctiontransform_translation
Get translation from transform
smpl_sim/poselib/core/rotation3d.py:295
↓ 7 callersMethodget_joints_verts
Pose should be batch_size x 72
smpl_sim/smpllib/smpl_parser.py:127
↓ 7 callersFunctionquat_inverse
The inverse of the rotation
smpl_sim/poselib/core/rotation3d.py:215
↓ 7 callersFunctionquat_mul
(a, b)
smpl_sim/utils/torch_utils.py:39
↓ 7 callersFunctionquat_mul_norm
Combine two set of 3D rotations together using \**\* operator. The shape needs to be broadcastable
smpl_sim/poselib/core/rotation3d.py:197
↓ 7 callersFunctionquat_normalize
Construct 3D rotation from quaternion (the quaternion needs not to be normalized).
smpl_sim/poselib/core/rotation3d.py:93
↓ 7 callersFunctiontransform_from_rotation_translation
Construct a transform from a quaternion and 3D translation. Only one of them can be None.
smpl_sim/poselib/core/rotation3d.py:265
↓ 7 callersFunctiontransform_rotation
Get rotation from transform
smpl_sim/poselib/core/rotation3d.py:289
↓ 6 callersFunctionadd_visual_capsule
Adds one capsule to an mjvScene.
smpl_sim/utils/mujoco_utils.py:78
↓ 6 callersMethodget_mesh_offsets_batch
(self, betas=torch.zeros(1, 10), flatfoot=False)
smpl_sim/smpllib/smpl_parser.py:217
↓ 6 callersMethodget_params
(self, param_list, get_name=False, pad_zeros=False)
smpl_sim/smpllib/smpl_local_robot.py:641
↓ 6 callersMethodget_qpos
(self)
smpl_sim/envs/humanoid_env.py:547
↓ 6 callersMethodget_scoped_name
(self, name)
smpl_sim/poselib/visualization/core.py:31
↓ 6 callersMethodpreprocess_obs
(self, obs)
smpl_sim/agents/agent.py:147
↓ 6 callersFunctionquaternion_multiply
Return multiplication of two quaternions. >>> q = quaternion_multiply([4, 1, -2, 3], [8, -5, 6, 7]) >>> numpy.allclose(q, [28, -44, -14, 48])
smpl_sim/utils/transformation.py:1477
↓ 6 callersFunctionrotation_matrix_to_angle_axis
This function is borrowed from https://github.com/kornia/kornia Convert 3x4 rotation matrix to Rodrigues vector Args: rotation_
smpl_sim/utils/torch_geometry_transforms.py:219
↓ 5 callersMethod_to_state_vector
(rot, rt)
smpl_sim/poselib/skeleton/skeleton3d.py:547
↓ 5 callersMethodclose
(self)
smpl_sim/envs/base_env.py:105
↓ 5 callersMethoddim
(self)
smpl_sim/poselib/visualization/simple_plotter_tasks.py:140
↓ 5 callersMethodfk_batch_grad
(self, input_vec, count_offset=True)
smpl_sim/smpllib/np_smpl_humanoid_batch.py:331
↓ 5 callersMethodget_action_size
(self)
smpl_sim/envs/humanoid_env.py:372
↓ 5 callersMethodget_body_xpos
(self)
smpl_sim/envs/humanoid_env.py:418
↓ 5 callersMethodget_joints_verts
Pose should be batch_size x 156
smpl_sim/smpllib/smpl_parser.py:272
↓ 5 callersMethodget_joints_verts
Pose should be batch_size x 156
smpl_sim/smpllib/smpl_parser.py:410
↓ 5 callersMethodget_joints_verts
Pose should be batch_size x 45
smpl_sim/smpllib/smpl_parser.py:613
↓ 5 callersMethodload_from_skeleton
( self, betas=None, v_template=None, gender=[0], objs_info=None,
smpl_sim/smpllib/smpl_local_robot.py:1280
↓ 5 callersFunctionquat_identity
Construct 3D identity rotation given shape
smpl_sim/poselib/core/rotation3d.py:112
↓ 5 callersFunctionquat_normalize
Construct 3D rotation from quaternion (the quaternion needs not to be normalized).
smpl_sim/utils/poselib_rotation3d.py:93
↓ 5 callersFunctionquaternion_inverse
Return inverse of quaternion. >>> q0 = random_quaternion() >>> q1 = quaternion_inverse(q0) >>> numpy.allclose(quaternion_multiply(q0, q1)
smpl_sim/utils/transformation.py:1508
↓ 5 callersMethodsample
(self, min_batch_size)
smpl_sim/agents/agent.py:121
↓ 5 callersMethodseed
(self, seed: Optional[int] = None)
smpl_sim/envs/base_env.py:109
↓ 5 callersMethodsync_node
(self)
smpl_sim/smpllib/smpl_local_robot.py:633
↓ 5 callersMethodsync_node
(self)
smpl_sim/smpllib/smpl_local_robot.py:1580
↓ 5 callersFunctiontransform_rotation
Get rotation from transform
smpl_sim/utils/poselib_rotation3d.py:289
↓ 4 callersMethodforward
(self, *args, **kwargs)
smpl_sim/smpllib/smpl_parser.py:123
↓ 4 callersMethodfrom_file
Read the object from a file (either .npy or .json) :param path: path of the file :type path: string :param args, kwargs: the
smpl_sim/poselib/core/backend/abstract.py:94
↓ 4 callersMethodget_observation
(self)
smpl_sim/envs/smplenv.py:170
↓ 4 callersMethodget_qvel
(self)
smpl_sim/envs/humanoid_env.py:550
↓ 4 callersMethodproj2d
(self, wbpos, return_cam_3d=False)
smpl_sim/smpllib/np_smpl_humanoid_batch.py:227
↓ 4 callersFunctionquat_apply
(a, b)
smpl_sim/utils/torch_utils.py:68
↓ 4 callersFunctionquat_from_angle_axis
(angle, axis)
smpl_sim/utils/torch_utils.py:116
↓ 4 callersFunctionquat_rotate
Rotate a 3D vector with the 3D rotation
smpl_sim/utils/poselib_rotation3d.py:206
↓ 4 callersMethodrebuild
(self)
smpl_sim/smpllib/smpl_local_robot.py:989
↓ 4 callersMethodreset
(self, seed=None, options=None)
smpl_sim/envs/humanoid_env.py:509
↓ 4 callersMethodset_params
(self, params, pad_zeros=False)
smpl_sim/smpllib/smpl_local_robot.py:757
↓ 4 callersFunctionset_seed
(seed, torch_deterministic=False)
smpl_sim/envs/nv/utils/config.py:57
↓ 4 callersMethodshow
(self)
smpl_sim/poselib/visualization/plt_plotter.py:242
↓ 4 callersMethodsync
(self, other)
smpl_sim/poselib/visualization/common.py:83
↓ 4 callersFunctiontransform_from_rotation_translation
Construct a transform from a quaternion and 3D translation. Only one of them can be None.
smpl_sim/utils/poselib_rotation3d.py:265
↓ 4 callersFunctiontransform_translation
Get translation from transform
smpl_sim/utils/poselib_rotation3d.py:295
↓ 4 callersFunctiontransform_vec
(v, q, trans="root")
smpl_sim/utils/math_utils.py:119
↓ 4 callersMethodupdate
Update the plotter for any updates in the task primitives
smpl_sim/poselib/visualization/core.py:70
↓ 3 callersMethod__init__
(self)
smpl_sim/utils/torch_geometry_transforms.py:456
↓ 3 callersMethod__init__
SMPL model constructor Parameters ---------- model_path: str The path to the folder or to the file where the model
smpl_sim/smpllib/smpl_parser.py:47
↓ 3 callersMethod_calc_frame_blend
(self, time, len, num_frames, dt)
smpl_sim/smpllib/motion_lib_base.py:448
↓ 3 callersMethod_calc_frame_blend
(self, time, len, num_frames, dt)
smpl_sim/smpllib/motion_lib_base_torch.py:528
↓ 3 callersMethod_get_clipped_obs
(self)
smpl_sim/envs/nv/gymwrapper.py:64
↓ 3 callersMethod_get_num_bodies
(self)
smpl_sim/smpllib/motion_lib_base.py:460
↓ 3 callersMethod_get_num_bodies
(self)
smpl_sim/smpllib/motion_lib_base_torch.py:540
↓ 3 callersMethod_indent
(self, s)
smpl_sim/poselib/skeleton/skeleton3d.py:113
↓ 3 callersMethod_init_walker_from_mocap
(self, key: str = "", random_timestep: bool = False)
smpl_sim/envs/smplenv.py:343
↓ 3 callersMethod_max
(self, x, y)
smpl_sim/poselib/visualization/plt_plotter.py:252
↓ 3 callersMethod_min
(self, x, y)
smpl_sim/poselib/visualization/plt_plotter.py:245
↓ 3 callersFunction_recursive_to_list
Takes some iterable that might contain iterables and converts it to a list of lists [of lists... etc] Mainly used for converting the st
smpl_sim/poselib/skeleton/backend/fbx/fbx_py27_backend.py:286
↓ 3 callersMethod_transfer_to
(self, new_skeleton_tree: SkeletonTree)
smpl_sim/poselib/skeleton/skeleton3d.py:651
↓ 3 callersMethod_update_lim
(self, xs, ys)
smpl_sim/poselib/visualization/plt_plotter.py:81
↓ 3 callersMethod_update_lim
(self, xs, ys, zs)
smpl_sim/poselib/visualization/plt_plotter.py:267
↓ 3 callersFunctionarcball_constrain_to_axis
Return sphere point perpendicular to axis.
smpl_sim/utils/transformation.py:1763
↓ 3 callersFunctioncompute_error_accel
Computes acceleration error: 1/(n-2) \sum_{i=1}^{n-1} X_{i-1} - 2X_i + X_{i+1} Note that for each frame that is not visible, three en
smpl_sim/smpllib/smpl_eval.py:295
↓ 3 callersFunctioncompute_error_vel
(joints_gt, joints_pred, vis=None)
smpl_sim/smpllib/smpl_eval.py:332
↓ 3 callersMethoddrop_nodes_by_names
(self, node_names: List[str], pairwise_translation=None)
smpl_sim/poselib/skeleton/skeleton3d.py:213
↓ 3 callersMethodexport_xml_string
(self)
smpl_sim/smpllib/smpl_local_robot.py:1719
↓ 3 callersMethodforward
This function should return a distribution to sample action from
smpl_sim/learning/policy.py:8
↓ 3 callersMethodfrom_mjcf
Parses a mujoco xml scene description file and returns a Skeleton Tree. We use the model attribute at the root as the name of the tre
smpl_sim/poselib/skeleton/skeleton3d.py:149
↓ 3 callersFunctionget_color_gradient
(percent, color='Blues')
smpl_sim/utils/draw_utils.py:13
↓ 3 callersFunctionget_heading_q_new
(q)
smpl_sim/utils/math_utils.py:185
↓ 3 callersMethodget_log_prob
(self, x, action)
smpl_sim/learning/policy.py:21
↓ 3 callersMethodget_params
(self, get_name=False)
smpl_sim/smpllib/smpl_local_robot.py:1889
↓ 3 callersMethodget_self_obs_size
(self)
smpl_sim/envs/nv/humanoid.py:966
next →1–100 of 1,205, ranked by callers