MCPcopy Create free account

hub / github.com/anthonysimeonov/rpdiff / functions

Functions592 in github.com/anthonysimeonov/rpdiff

↓ 1 callersFunctionmain_mp
(args, cfg)
src/rpdiff/data_gen/model_gen/syn_can_cabinet_gen.py:80
↓ 1 callersFunctionmain_mp
(args, rack_cfg)
src/rpdiff/data_gen/model_gen/syn_rack_gen.py:204
↓ 1 callersFunctionmain_mp
(args, cfg)
src/rpdiff/data_gen/model_gen/syn_container_gen.py:124
↓ 1 callersFunctionmake_3d_grid
Makes a 3D grid. Args: bb_min (tuple): bounding box minimum bb_max (tuple): bounding box maximum shape (tuple): output s
src/rpdiff/model/encoder/common.py:76
↓ 1 callersFunctionmake_can_cabinet
Args: bl (float): Base length bw (float): Base width bt (float): Base thickness n_shelves (int): Number of shelve
src/rpdiff/data_gen/model_gen/can_cabinet_dev.py:21
↓ 1 callersFunctionmake_chunked_data
(datadir, avg_mb_per_file=10)
src/rpdiff/data_gen/post_process_demos.py:65
↓ 1 callersFunctionmanual_place_success_gt
(ppcd_world, cpcd_world, mesh_dict, mc_vis)
src/rpdiff/utils/relational_policy/filter_multimodal_placement.py:161
↓ 1 callersFunctionmatrix_from_list
(pose_list: List[float])
src/rpdiff/utils/util.py:254
↓ 1 callersFunctionmerge_seeds
(merged_dir)
src/rpdiff/data_gen/post_process_demos.py:15
↓ 1 callersFunctionmeshcat_pcd_show
Function to show a point cloud using meshcat. Args: mc_vis (meshcat.Visualizer): Interface to the visualizer point_cloud (
src/rpdiff/utils/util.py:733
↓ 1 callersMethodmove_ee_xyz_until_touch
Move the end-effector in a straight line without changing the orientation. Args: delta_xyz (list or np.ndarray):
src/rpdiff/robot/floating_sphere_gripper.py:495
↓ 1 callersFunctionnormalize_3d_coordinate
Normalize coordinate to [0, 1] for unit cube experiments. Corresponds to our 3D model Args: p (tensor): point padding (f
src/rpdiff/model/encoder/common.py:191
↓ 1 callersFunctionnormalize_coord
Normalize coordinate to [0, 1] for sliding-window experiments Args: p (tensor): point vol_range (numpy array): volume boundary
src/rpdiff/model/encoder/common.py:209
↓ 1 callersFunctionnpz2dict
(npz)
src/rpdiff/data_gen/post_process_demos.py:10
↓ 1 callersFunctionnumber_of_features_per_level
(init_channel_number, num_levels)
src/rpdiff/model/encoder/unet3d.py:11
↓ 1 callersFunctionobj2urdf
(obj_filename, obj_name, save_dir=None, cwd=False, scaling=None)
src/rpdiff/utils/pb2mc/obj2urdf.py:3
↓ 1 callersFunctionpkg_files
(directory)
setup.py:38
↓ 1 callersMethodpool_latent
(self, *args, **kwargs)
src/rpdiff/model/transformer/policy.py:343
↓ 1 callersMethodpool_local
(self, index, c)
src/rpdiff/model/scene_encoder.py:142
↓ 1 callersMethodpool_tf
(self, *args, **kwargs)
src/rpdiff/model/transformer/policy.py:346
↓ 1 callersMethodpool_with_var
(self, *args, **kwargs)
src/rpdiff/model/transformer/policy.py:116
↓ 1 callersMethodprocess_general_start_final_pcd
(self, data: dict, parent_final_pcd: np.ndarray, child_final_pcd: np.ndarray)
src/rpdiff/training/dataio_full_chunked.py:476
↓ 1 callersFunctionproject_point2plane
project a point to a plane
src/rpdiff/utils/util.py:516
↓ 1 callersFunctionquat_inverse
Return the quaternion inverse. Args: quat (list or np.ndarray): quaternion [x,y,z,w] (shape: :math:`[4,]`). Returns: np
src/rpdiff/utils/util.py:384
↓ 1 callersFunctionquat_multiply
Quaternion mulitplication. Args: quat1 (list or np.ndarray): first quaternion [x,y,z,w] (shape: :math:`[4,]`). q
src/rpdiff/utils/util.py:365
↓ 1 callersFunctionquaternion_invert
Given a quaternion representing rotation, get the quaternion representing its inverse. Args: quaternion: Quaternions as tensor o
src/rpdiff/utils/torch3d_util.py:409
↓ 1 callersFunctionquaternion_to_angle_axis
Convert quaternion vector to angle axis of rotation. Adapted from ceres C++ library: ceres-solver/include/ceres/rotation.h Args: qua
src/rpdiff/utils/torch_util.py:175
↓ 1 callersFunctionquaternion_to_axis_angle
Convert rotations given as quaternions to axis/angle. Args: quaternions: quaternions with real part first, as tensor of
src/rpdiff/utils/torch3d_util.py:516
↓ 1 callersFunctionrandom_quaternions
Generate random quaternions representing rotations, i.e. versors with nonnegative real part. Args: n: Number of quaternions in a
src/rpdiff/utils/torch3d_util.py:296
↓ 1 callersFunctionrandom_rotations
Generate random rotations as 3x3 rotation matrices. Args: n: Number of rotation matrices in a batch to return. dtype: Type t
src/rpdiff/utils/torch3d_util.py:319
↓ 1 callersFunctionread_requirements_file
(filename)
setup.py:26
↓ 1 callersFunctionrecursive_attr_dict
(in_dict: dict)
src/rpdiff/utils/config_util.py:74
↓ 1 callersFunctionrecursive_dict
(in_dict: dict)
src/rpdiff/utils/config_util.py:82
↓ 1 callersFunctionrefine_pose_to_success
( refine_pose_mi, refine_pose_mo, refine_pose_gt, success_mi, success_gt, args, mc_v
src/rpdiff/training/pred_util.py:197
↓ 1 callersFunctionrefine_registration
Function to refine pointcloud registration result with a local ICP-based registration. Takes as input the result of a global registration att
src/rpdiff/utils/point_cloud_fusion.py:50
↓ 1 callersFunctionremove_redundant_tf
(policy_mi, voxel_idx_final, rot_idx_final, trans_idx_final, mc_vis)
src/rpdiff/utils/relational_policy/filter_multimodal_placement.py:12
↓ 1 callersMethodreparameterize
(self, mu: torch.FloatTensor, logvar: torch.FloatTensor)
src/rpdiff/model/transformer/policy.py:404
↓ 1 callersMethodreset_params
(self)
src/rpdiff/model/encoder/unet.py:220
↓ 1 callersFunctionrotation_matrix_to_quaternion
Convert 3x4 rotation matrix to 4d quaternion vector This algorithm is based on algorithm described in https://github.com/KieranWynn/pyquatern
src/rpdiff/utils/torch_util.py:320
↓ 1 callersMethodrun_all_until_done
(self)
src/rpdiff/data_gen/rel_demo_aug/parallel_proc_gen_rel_demos.py:839
↓ 1 callersFunctionsample_cam_pose_mat
(focus_pt=None)
src/rpdiff/utils/pcd_aug_util.py:75
↓ 1 callersFunctionsample_peg
(peg_cyl_radius, peg_cyl_height, base_cyl_radius, base_cyl_height)
src/rpdiff/data_gen/model_gen/parameterized_racks.py:35
↓ 1 callersFunctionsample_peg
(peg_cyl_radius, peg_cyl_height, base_cyl_radius, base_cyl_height, rack_cfg, top_bottom_half=None)
src/rpdiff/data_gen/model_gen/syn_rack_gen.py:80
↓ 1 callersMethodsample_rectangle
Masks part of an image that is outside of a randomly sampled rectangle Args: obj_mask (np.ndarray): Size (H, W) of boole
src/rpdiff/utils/seg_aug_util.py:76
↓ 1 callersFunctionsample_syn_rack
(rack_cfg)
src/rpdiff/data_gen/model_gen/syn_rack_gen.py:112
↓ 1 callersMethodsegment_pointcloud
(self, pointcloud)
src/rpdiff/utils/point_cloud_fusion.py:667
↓ 1 callersMethodset_clip_image_caption
(self, caption)
src/rpdiff/utils/relational_policy/human_query.py:42
↓ 1 callersMethodset_eval_sample
(self, eval_sample: bool)
src/rpdiff/model/transformer/policy.py:340
↓ 1 callersMethodset_home_position
(self, pos)
src/rpdiff/robot/floating_sphere_gripper.py:167
↓ 1 callersMethodsetup_clip_model
(self)
src/rpdiff/utils/relational_policy/human_query.py:34
↓ 1 callersMethodsetup_workers
Setup function to instantiate the desired number of workers. Pipes and Processes set up, stored internally, and started. Args:
src/rpdiff/data_gen/rel_demo_aug/parallel_proc_gen_rel_demos.py:798
↓ 1 callersMethodshow_collision_pcds
Visualize the pointcloud collision geometry that is being used. Args: extra_pcds (np.ndarray, optional): Other pointclouds to inc
src/rpdiff/utils/point_cloud_fusion.py:841
↓ 1 callersFunctionsimulate_cut_plane
(pcd)
src/rpdiff/utils/pcd_aug_util.py:244
↓ 1 callersFunctionsimulate_random_occlusions
(pcd, cam_poses, cam_int_mat, img_size=(480, 640), select_prob=1.0, min_pts=1500)
src/rpdiff/utils/pcd_aug_util.py:103
↓ 1 callersFunctionsingle_shot_regression
Directly predict the relative transformation in one shot
src/rpdiff/utils/relational_policy/inference_methods.py:14
↓ 1 callersFunctionsingle_shot_regression_feat_combine
Directly predict the relative transformation in one shot
src/rpdiff/utils/relational_policy/inference_methods.py:110
↓ 1 callersFunctionsingle_shot_regression_transformer_combine
Directly predict the relative transformation in one shot
src/rpdiff/utils/relational_policy/inference_methods.py:2045
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
src/rpdiff/utils/torch3d_util.py:353
↓ 1 callersMethodtf_chamfer
(self, model_outputs, ground_truth, quat_norm_beta=0.1, val=False)
src/rpdiff/training/losses.py:191
↓ 1 callersMethodtf_chamfer_multi_query_affordance
(self, model_outputs, ground_truth, quat_norm_beta=0.1, val=False)
src/rpdiff/training/losses.py:264
↓ 1 callersFunctiontrain
( mc_vis: meshcat.Visualizer, coarse_aff_model: nn.Module, refine_pose_model: nn.Module, succ
src/rpdiff/training/train_full.py:44
↓ 1 callersFunctiontrain_iter_refine_pose
( pose_refine_mi: dict, pose_refine_gt: dict, pose_refine_model: nn.Module
src/rpdiff/training/train_loops.py:345
↓ 1 callersFunctiontrain_iter_success
( success_mi: dict, success_gt: dict, success_model: nn.Module,
src/rpdiff/training/train_loops.py:715
↓ 1 callersFunctiontransform_points
Transforms points with regard to passed camera information. Args: points (tensor): points tensor transform (tensor): transformat
src/rpdiff/model/encoder/common.py:98
↓ 1 callersFunctionupconv2x2
(in_channels, out_channels, mode='transpose')
src/rpdiff/model/encoder/unet.py:25
↓ 1 callersFunctionupdate_recursive
Update two config dictionaries recursively. Args: dict1 (dict): first dictionary to be updated dict2 (dict): second dictionary wh
src/rpdiff/utils/config_util.py:46
↓ 1 callersFunctionupdate_reso
Update the defined resolution so that UNet can process. Args: reso (int): defined resolution depth (int): U-Net number of layers
src/rpdiff/model/encoder/common.py:275
↓ 1 callersMethodweight_init
(m)
src/rpdiff/model/encoder/unet.py:214
↓ 1 callersFunctionworld_from_xy_depth
Translates meshgrid of xy pixel coordinates plus depth to world coordinates.
src/rpdiff/utils/geometry.py:105
Method__call__
(self, x)
src/rpdiff/utils/torch_util.py:97
Method__call__
(self, list_data)
src/rpdiff/utils/batch_pcd_util.py:217
Method__call__
(self, p)
src/rpdiff/model/encoder/common.py:344
Method__call__
(self, p)
src/rpdiff/model/encoder/common.py:368
Method__getitem__
(self, index)
src/rpdiff/training/dataio_full_chunked.py:1632
Method__init__
(self, dim, max_pos=None)
src/rpdiff/utils/torch_util.py:92
Method__init__
(self, num_group)
src/rpdiff/utils/torch_scatter_utils.py:52
Method__init__
(self, num_group, group_size)
src/rpdiff/utils/torch_scatter_utils.py:115
Method__init__
(self, limit_numpoints=-1, dtype=torch.int32, device=None)
src/rpdiff/utils/batch_pcd_util.py:212
Method__init__
(self, img_size, circle_radius_hl=[0.6, 0.05], rectangle_side_hl=[0.1, 0.025])
src/rpdiff/utils/seg_aug_util.py:13
Method__init__
(self, object_pcd, scene_pcd, start_ee_pose=[0, 0, 0, 0, 0, 0, 1], scene_geom_model=None, scene_offset=0.0, sc
src/rpdiff/utils/point_cloud_fusion.py:121
Method__init__
(self)
src/rpdiff/utils/point_cloud_fusion.py:280
Method__init__
(self, point_cloud, ee_pose, transformation, transformation_so_far=None, parent=-1, point_cl
src/rpdiff/utils/point_cloud_fusion.py:346
Method__init__
(self)
src/rpdiff/utils/point_cloud_fusion.py:411
Method__init__
(self)
src/rpdiff/utils/point_cloud_fusion.py:660
Method__init__
(self, collision_pcds)
src/rpdiff/utils/point_cloud_fusion.py:753
Method__init__
(self)
src/rpdiff/utils/util.py:135
Method__init__
(self)
src/rpdiff/utils/util.py:142
Method__init__
(self, position, orientation)
src/rpdiff/utils/util.py:150
Method__init__
(self)
src/rpdiff/utils/util.py:156
Method__init__
(self)
src/rpdiff/utils/util.py:161
Method__init__
(self, caption)
src/rpdiff/utils/relational_policy/human_query.py:30
Method__init__
(self, task_name: str, parent_class: str, child_class: str, upright_dict: dict, mc_vis: Visualizer)
src/rpdiff/utils/relational_policy/procedural_generation.py:20
Method__init__
(self, mesh, resolution=512)
src/rpdiff/utils/mesh_util/inside_mesh.py:17
Method__init__
(self, triangles, resolution=128)
src/rpdiff/utils/mesh_util/inside_mesh.py:119
Method__init__
(self, name: str, body_id: int, link_id: int,
src/rpdiff/utils/pb2mc/pybullet_meshcat.py:22
Method__init__
(self, pb_client=None, tmp_urdf_dir: str=None, debug: bool=False)
src/rpdiff/utils/pb2mc/pybullet_meshcat.py:65
Method__init__
(self, active_id=0)
src/rpdiff/data_gen/rel_demo_aug/parallel_proc_gen_rel_demos.py:72
Method__init__
(self, global_manager, num_workers=1, seed_base=1)
src/rpdiff/data_gen/rel_demo_aug/parallel_proc_gen_rel_demos.py:787
Method__init__
(self, c_dim=128, dim=3, hidden_dim=128, scatter_type='max', unet=False, unet_kwargs=None, u
src/rpdiff/model/scene_encoder.py:39
Method__init__
(self, feat_dim, rot_grid_dim, padding, scene_encoder_kwargs, voxel_reso_grid,
src/rpdiff/model/coarse_affordance.py:10
← previousnext →201–300 of 592, ranked by callers