SYMBOL INDEX (239 symbols across 20 files) FILE: GenMM.py class GenMM (line 9) | class GenMM: method __init__ (line 10) | def __init__(self, mode = 'random_synthesis', noise_sigma = 1.0, coars... method _get_pyramid_lengths (line 20) | def _get_pyramid_lengths(self, final_len, coarse_ratio, pyr_factor): method _get_target_pyramid (line 33) | def _get_target_pyramid(self, target, coarse_ratio, pyr_factor, num_st... method _get_initial_motion (line 63) | def _get_initial_motion(self, init_length, noise_sigma): method run (line 81) | def run(self, target, criteria, num_frames, num_steps, noise_sigma, pa... method match_and_blend (line 139) | def match_and_blend(synthesized, targets, criteria, n_steps, pbar, ext... FILE: __init__.py function capture_rest_pose (line 43) | def capture_rest_pose(armature_obj): function get_bvh_data (line 60) | def get_bvh_data(context, class BVH_Node (line 312) | class BVH_Node: method __init__ (line 360) | def __init__(self, name, rest_head_world, rest_head_local, parent, cha... method __repr__ (line 382) | def __repr__(self): function sorted_nodes (line 392) | def sorted_nodes(bvh_nodes): function read_bvh (line 398) | def read_bvh(context, bvh_str, rotate_mode='XYZ', global_scale=1.0): function bvh_node_dict2objects (line 623) | def bvh_node_dict2objects(context, bvh_name, bvh_nodes, rotate_mode='NAT... function bvh_node_dict2armature (line 686) | def bvh_node_dict2armature( function load (line 908) | def load( function _update_scene_fps (line 985) | def _update_scene_fps(context, report, bvh_frame_time): function _update_scene_duration (line 1007) | def _update_scene_duration( function set_smooth_shading (line 1038) | def set_smooth_shading(mesh: bpy.types.Mesh) -> None: function create_mesh_from_pydata (line 1045) | def create_mesh_from_pydata(scene: bpy.types.Scene, function add_subdivision_surface_modifier (line 1068) | def add_subdivision_surface_modifier(mesh_object: bpy.types.Object, leve... function create_armature_mesh (line 1082) | def create_armature_mesh(scene: bpy.types.Scene, armature_object: bpy.ty... class OP_AddMesh (line 1191) | class OP_AddMesh(bpy.types.Operator): method __init__ (line 1197) | def __init__(self) -> None: method execute (line 1200) | def execute(self, context: bpy.types.Context): class OP_RunSynthesis (line 1205) | class OP_RunSynthesis(bpy.types.Operator): method execute (line 1211) | def execute(self, context: bpy.types.Context): class GENMM_PT_ControlPanel (line 1258) | class GENMM_PT_ControlPanel(bpy.types.Panel): method poll (line 1265) | def poll(cls, context: bpy.types.Context): method draw_header (line 1268) | def draw_header(self, context: bpy.types.Context): method draw (line 1272) | def draw(self, context: bpy.types.Context): class PropertyGroup (line 1308) | class PropertyGroup(bpy.types.PropertyGroup): function register (line 1374) | def register(): function unregister (line 1380) | def unregister(): FILE: dataset/blender_motion.py class BlenderMotion (line 9) | class BlenderMotion: method __init__ (line 10) | def __init__(self, motion_data, repr='quat', use_velo=True, keep_up_po... method repr (line 48) | def repr(self): method use_velo (line 52) | def use_velo(self): method keep_up_pos (line 56) | def keep_up_pos(self): method padding_last (line 60) | def padding_last(self): method concat_id (line 64) | def concat_id(self): method n_pad (line 68) | def n_pad(self): method n_contact (line 72) | def n_contact(self): method n_rot (line 76) | def n_rot(self): method sample (line 79) | def sample(self, size=None, slerp=False): method parse (line 85) | def parse(self, motion, keep_velo=False,): FILE: dataset/bvh/Quaternions.py class Quaternions (line 11) | class Quaternions: method __init__ (line 31) | def __init__(self, qs): method __str__ (line 43) | def __str__(self): return "Quaternions("+ str(self.qs) + ")" method __repr__ (line 44) | def __repr__(self): return "Quaternions("+ repr(self.qs) + ")" method _broadcast (line 49) | def _broadcast(cls, sqs, oqs, scalar=False): method __add__ (line 72) | def __add__(self, other): return self * other method __sub__ (line 73) | def __sub__(self, other): return self / other method __mul__ (line 77) | def __mul__(self, other): method __div__ (line 126) | def __div__(self, other): method __eq__ (line 141) | def __eq__(self, other): return self.qs == other.qs method __ne__ (line 142) | def __ne__(self, other): return self.qs != other.qs method __neg__ (line 144) | def __neg__(self): method __abs__ (line 148) | def __abs__(self): method __iter__ (line 156) | def __iter__(self): return iter(self.qs) method __len__ (line 157) | def __len__(self): return len(self.qs) method __getitem__ (line 159) | def __getitem__(self, k): return Quaternions(self.qs[k]) method __setitem__ (line 160) | def __setitem__(self, k, v): self.qs[k] = v.qs method lengths (line 163) | def lengths(self): method reals (line 167) | def reals(self): method imaginaries (line 171) | def imaginaries(self): method shape (line 175) | def shape(self): return self.qs.shape[:-1] method repeat (line 177) | def repeat(self, n, **kwargs): method normalized (line 180) | def normalized(self): method log (line 183) | def log(self): method constrained (line 190) | def constrained(self, axis): method constrained_x (line 207) | def constrained_x(self): return self.constrained(np.array([1,0,0])) method constrained_y (line 208) | def constrained_y(self): return self.constrained(np.array([0,1,0])) method constrained_z (line 209) | def constrained_z(self): return self.constrained(np.array([0,0,1])) method dot (line 211) | def dot(self, q): return np.sum(self.qs * q.qs, axis=-1) method copy (line 213) | def copy(self): return Quaternions(np.copy(self.qs)) method reshape (line 215) | def reshape(self, s): method interpolate (line 219) | def interpolate(self, ws): method euler (line 222) | def euler(self, order='xyz'): method average (line 292) | def average(self): method angle_axis (line 306) | def angle_axis(self): method transforms (line 318) | def transforms(self): method ravel (line 343) | def ravel(self): method id (line 347) | def id(cls, n): method id_like (line 362) | def id_like(cls, a): method exp (line 368) | def exp(cls, ws): method slerp (line 383) | def slerp(cls, q0s, q1s, a): method between (line 412) | def between(cls, v0s, v1s): method from_angle_axis (line 418) | def from_angle_axis(cls, angles, axis): method from_euler (line 425) | def from_euler(cls, es, order='xyz', world=False): method from_transforms (line 440) | def from_transforms(cls, ts): FILE: dataset/bvh/bvh_io.py class Animation (line 32) | class Animation: method __init__ (line 33) | def __init__(self, rotations, positions, orients, offsets, parents, na... method shape (line 43) | def shape(self): function load (line 47) | def load(filename, start=None, end=None, order=None, world=False, need_q... function save (line 210) | def save(filename, anim, names=None, frametime=1.0/24.0, order='zyx', po... function save_joint (line 292) | def save_joint(f, anim, names, t, i, order='zyx', positions=False): FILE: dataset/bvh/bvh_parser.py class Skeleton (line 11) | class Skeleton: method __init__ (line 12) | def __init__(self, names, parent, offsets, joint_reduction=True, skele... method parent (line 69) | def parent(self): method offsets (line 78) | def offsets(self): method names (line 82) | def names(self): method ee_id (line 86) | def ee_id(self): class BVH_file (line 94) | class BVH_file: method __init__ (line 95) | def __init__(self, file_path, skeleton_conf=None, requires_contact=Fal... method local_pos (line 137) | def local_pos(self): method rescale (line 142) | def rescale(self, ratio): method to_tensor (line 146) | def to_tensor(self, repr='euler', rot_only=False): method joint_position (line 163) | def joint_position(self): method get_rotation (line 171) | def get_rotation(self, repr='quat'): method get_position (line 182) | def get_position(self): method dfs (line 185) | def dfs(self, x, vis, dist): method get_neighbor (line 193) | def get_neighbor(self, threshold, enforce_contact=False): FILE: dataset/bvh/bvh_writer.py function write_bvh (line 6) | def write_bvh(parent, offset, rotation, position, names, frametime, orde... class WriterWrapper (line 59) | class WriterWrapper: method __init__ (line 60) | def __init__(self, parents, offset=None): method write (line 64) | def write(self, filename, rot, pos, offset=None, names=None, repr='qua... FILE: dataset/bvh_motion.py class BVHMotion (line 31) | class BVHMotion: method __init__ (line 32) | def __init__(self, bvh_file, skeleton_name=None, repr='quat', use_velo... method repr (line 57) | def repr(self): method use_velo (line 61) | def use_velo(self): method keep_up_pos (line 65) | def keep_up_pos(self): method padding_last (line 69) | def padding_last(self): method concat_id (line 73) | def concat_id(self): method n_pad (line 77) | def n_pad(self): method n_contact (line 81) | def n_contact(self): method n_rot (line 85) | def n_rot(self): method sample (line 88) | def sample(self, size=None, slerp=False): method write (line 95) | def write(self, filename, data): function load_multiple_dataset (line 125) | def load_multiple_dataset(name_list, **kargs): FILE: dataset/motion.py class MotionData (line 5) | class MotionData: method __init__ (line 6) | def __init__(self, data, repr='quat', use_velo=True, keep_up_pos=True,... method __len__ (line 69) | def __len__(self): method sample (line 76) | def sample(self, size=None, slerp=False): method to_velocity (line 90) | def to_velocity(self, pos): method to_position (line 102) | def to_position(self, velo): FILE: dataset/tracks_motion.py class TracksParser (line 9) | class TracksParser(): method __init__ (line 10) | def __init__(self, tracks_json, scale): method to_tensor (line 34) | def to_tensor(self, repr='euler', rot_only=False): method get_rotation (line 46) | def get_rotation(self, repr='quat'): method get_position (line 55) | def get_position(self): class TracksMotion (line 58) | class TracksMotion: method __init__ (line 59) | def __init__(self, tracks_json, scale=1.0, repr='quat', use_velo=True,... method repr (line 77) | def repr(self): method use_velo (line 81) | def use_velo(self): method keep_up_pos (line 85) | def keep_up_pos(self): method padding_last (line 89) | def padding_last(self): method n_pad (line 93) | def n_pad(self): method n_rot (line 97) | def n_rot(self): method sample (line 100) | def sample(self, size=None, slerp=False): method parse (line 107) | def parse(self, motion, keep_velo=False,): FILE: fix_contact.py function continuous_filter (line 13) | def continuous_filter(contact, length=2): function fix_negative_height (line 30) | def fix_negative_height(contact, constrain, cid): function fix_contact (line 40) | def fix_contact(bvh_file, contact): function fix_contact_on_file (line 66) | def fix_contact_on_file(prefix, name): FILE: nearest_neighbor/losses.py class PatchCoherentLoss (line 6) | class PatchCoherentLoss(torch.nn.Module): method __init__ (line 7) | def __init__(self, patch_size=7, stride=1, alpha=None, loop=False, cac... method forward (line 19) | def forward(self, X, Ys, dist_wrapper=None, ext=None, return_blended_r... method clean_cache (line 42) | def clean_cache(self): FILE: nearest_neighbor/utils.py function extract_patches (line 8) | def extract_patches(x, patch_size, stride, loop=False): function combine_patches (line 22) | def combine_patches(x_shape, ys, patch_size, stride, loop=False): function efficient_cdist (line 49) | def efficient_cdist(X, Y): function get_col_mins_efficient (line 64) | def get_col_mins_efficient(dist_fn, X, Y, b=1024): function get_NNs_Dists (line 82) | def get_NNs_Dists(dist_fn, X, Y, alpha=None, b=1024): FILE: run_random_generation.py function generate (line 70) | def generate(cfg): FILE: run_web_server.py function generate (line 18) | def generate(data): FILE: utils/base.py class ConfigParser (line 15) | class ConfigParser(): method __init__ (line 16) | def __init__(self, args): method __str__ (line 26) | def __str__(self): method __getattr__ (line 29) | def __getattr__(self, name): method __getitem__ (line 35) | def __getitem__(self, name): method merge_config_file (line 41) | def merge_config_file(self, args, allow_invalid=True): method set_seed (line 64) | def set_seed(self): method save_codes_and_config (line 77) | def save_codes_and_config(self, save_path): class logger (line 93) | class logger: method __init__ (line 97) | def __init__(self, n_steps, n_lvls): method step (line 105) | def step(self): method new_lvl (line 110) | def new_lvl(self): method print (line 114) | def print(self): function set_seed (line 119) | def set_seed(seed=None): FILE: utils/contact.py function foot_contact_by_height (line 4) | def foot_contact_by_height(pos): function velocity (line 9) | def velocity(pos, padding=False): function foot_contact (line 18) | def foot_contact(pos, ref_height=1., threshold=0.018): function alpha (line 27) | def alpha(t): function lerp (line 31) | def lerp(a, l, r): function constrain_from_contact (line 35) | def constrain_from_contact(contact, glb, fid='TBD', L=5): FILE: utils/kinematics.py class ForwardKinematics (line 5) | class ForwardKinematics: method __init__ (line 6) | def __init__(self, parents, offsets=None): method forward (line 12) | def forward(self, rots, offsets=None, global_pos=None): method accumulate (line 44) | def accumulate(self, local_rots): method unaccumulate (line 58) | def unaccumulate(self, global_rots): class ForwardKinematicsJoint (line 78) | class ForwardKinematicsJoint: method __init__ (line 79) | def __init__(self, parents, offset): method forward (line 90) | def forward(self, rotation: torch.Tensor, position: torch.Tensor, offs... class InverseKinematicsJoint (line 126) | class InverseKinematicsJoint: method __init__ (line 127) | def __init__(self, rotations: torch.Tensor, positions: torch.Tensor, o... method step (line 144) | def step(self): class InverseKinematicsJoint2 (line 154) | class InverseKinematicsJoint2: method __init__ (line 155) | def __init__(self, rotations: torch.Tensor, positions: torch.Tensor, o... method step (line 182) | def step(self): method get_position (line 198) | def get_position(self): FILE: utils/skeleton.py class SkeletonConv (line 8) | class SkeletonConv(nn.Module): method __init__ (line 9) | def __init__(self, neighbour_list, in_channels, out_channels, kernel_s... method reset_parameters (line 68) | def reset_parameters(self): method set_offset (line 89) | def set_offset(self, offset): method forward (line 93) | def forward(self, input): method __repr__ (line 105) | def __repr__(self): class SkeletonLinear (line 109) | class SkeletonLinear(nn.Module): method __init__ (line 110) | def __init__(self, neighbour_list, in_channels, out_channels, extra_di... method reset_parameters (line 133) | def reset_parameters(self): method forward (line 149) | def forward(self, input): class SkeletonPoolJoint (line 157) | class SkeletonPoolJoint(nn.Module): method __init__ (line 158) | def __init__(self, topology, pooling_mode, channels_per_joint, last_po... method forward (line 223) | def forward(self, input: torch.Tensor): class SkeletonPool (line 227) | class SkeletonPool(nn.Module): method __init__ (line 228) | def __init__(self, edges, pooling_mode, channels_per_edge, last_pool=F... method forward (line 290) | def forward(self, input: torch.Tensor): class SkeletonUnpool (line 294) | class SkeletonUnpool(nn.Module): method __init__ (line 295) | def __init__(self, pooling_list, channels_per_edge): method forward (line 318) | def forward(self, input: torch.Tensor): function find_neighbor_joint (line 322) | def find_neighbor_joint(parents, threshold): FILE: utils/transforms.py function batch_mm (line 5) | def batch_mm(matrix, matrix_batch): function aa2quat (line 21) | def aa2quat(rots, form='wxyz', unified_orient=True): function quat2aa (line 49) | def quat2aa(quats): function quat2mat (line 65) | def quat2mat(quats: torch.Tensor): function quat2euler (line 103) | def quat2euler(q, order='xyz', degrees=True): function euler2mat (line 126) | def euler2mat(rots, order='xyz'): function aa2mat (line 139) | def aa2mat(rots): function mat2quat (line 150) | def mat2quat(R) -> torch.Tensor: function quat2repr6d (line 241) | def quat2repr6d(quat): function repr6d2mat (line 248) | def repr6d2mat(repr): function repr6d2quat (line 261) | def repr6d2quat(repr) -> torch.Tensor: function inv_affine (line 274) | def inv_affine(mat): function inv_rigid_affine (line 285) | def inv_rigid_affine(mat): function generate_pose (line 295) | def generate_pose(batch_size, device, uniform=False, factor=1, root_rot=... function slerp (line 321) | def slerp(l, r, t, unit=True): function slerp_quat (line 355) | def slerp_quat(l, r, t): function interpolate_6d (line 378) | def interpolate_6d(input, size):