MCPcopy Create free account

hub / github.com/anthonysimeonov/rpdiff / functions

Functions592 in github.com/anthonysimeonov/rpdiff

Methodforward
(self, src, src_mask: Optional[Tensor] = None, src_key_padding_mask: Optional[
src/rpdiff/model/transformer/transformer.py:178
Methodforward
(self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: Optional[T
src/rpdiff/model/transformer/transformer.py:258
Methodforward
(self, src, tgt, src_mask, tgt_mask)
src/rpdiff/model/transformer/nsm_transformer.py:33
Methodforward
(self, x, mask)
src/rpdiff/model/transformer/nsm_transformer.py:42
Methodforward
(self, x, memory, src_mask, tgt_mask)
src/rpdiff/model/transformer/nsm_transformer.py:53
Methodforward
(self, x, memory, src_mask, tgt_mask, pos=None, query_pos=None)
src/rpdiff/model/transformer/nsm_transformer.py:69
Methodforward
(self, x)
src/rpdiff/model/transformer/nsm_transformer.py:94
Methodforward
(self, x, sublayer)
src/rpdiff/model/transformer/nsm_transformer.py:104
Methodforward
(self, x, mask)
src/rpdiff/model/transformer/nsm_transformer.py:115
Methodforward
(self, x, memory, src_mask, tgt_mask)
src/rpdiff/model/transformer/nsm_transformer.py:129
Methodforward
(self, x, memory, src_mask, tgt_mask, pos=None, query_pos=None)
src/rpdiff/model/transformer/nsm_transformer.py:148
Methodforward
(self, query, key, value, mask=None)
src/rpdiff/model/transformer/nsm_transformer.py:166
Methodforward
(self, x)
src/rpdiff/model/transformer/nsm_transformer.py:192
Methodforward
(self, src, tgt)
src/rpdiff/model/transformer/nsm_transformer.py:218
Methodforward
(self, src, tgt)
src/rpdiff/model/transformer/nsm_transformer.py:262
Functiongenerate_healpix_grid
Generates an equivolumetric grid on SO(3) following Yershova et al. (2010). Uses a Healpix grid on the 2-sphere as a starting point and then tiles i
src/rpdiff/utils/util.py:672
Methodget_bce_logits
(self)
src/rpdiff/training/losses.py:18
Functionget_demo_config_dir
()
src/rpdiff/utils/path_util.py:60
Functionget_eval_config_dir
()
src/rpdiff/utils/path_util.py:56
Methodget_formatted_output
(self)
src/rpdiff/utils/pb2mc/pybullet_meshcat.py:290
Methodget_full_skill_name
(self, keep_separate=False)
src/rpdiff/utils/point_cloud_fusion.py:654
Methodget_fused_pcd
(self)
src/rpdiff/utils/point_cloud_fusion.py:327
Methodget_global_info_dict
Returns the globally shared dictionary of data generation information, including success rate and trial number Returns:
src/rpdiff/data_gen/rel_demo_aug/parallel_proc_gen_rel_demos.py:874
Methodget_jvel
Return the joint velocity(ies) of the arm. Args: joint_name (str, optional): If it's None, it will return
src/rpdiff/robot/floating_sphere_gripper.py:359
Functionget_model
(config)
src/rpdiff/model/encoder/unet3d.py:512
Methodget_obj_trial_number
(self)
src/rpdiff/data_gen/rel_demo_aug/parallel_proc_gen_rel_demos.py:888
Functionget_occ
(obj_mesh: trimesh.Trimesh, VOXEL_RES: int, offset: np.ndarray=None, scaling: float=None,
src/rpdiff/utils/mesh_util/three_util.py:166
Functionget_parent_child_contact_point
(parent_pcd, child_pcd)
src/rpdiff/utils/pcd_aug_util.py:275
Methodget_pipes
(self)
src/rpdiff/data_gen/rel_demo_aug/parallel_proc_gen_rel_demos.py:862
Methodget_pointcloud_planes
(self, pointcloud, visualize=False)
src/rpdiff/utils/point_cloud_fusion.py:683
Methodget_processes
(self)
src/rpdiff/data_gen/rel_demo_aug/parallel_proc_gen_rel_demos.py:865
Functionget_raster_points
(voxel_resolution)
src/rpdiff/data_gen/model_gen/syn_can_cabinet_gen.py:68
Functionget_ray_directions
Translates meshgrid of xy pixel coordinates to normalized directions of rays through these pixels.
src/rpdiff/utils/geometry.py:130
Functionget_ray_directions_cam
Translates meshgrid of uv pixel coordinates to normalized directions of rays through these pixels, in camera coordinates.
src/rpdiff/utils/geometry.py:25
Functionget_rpdiff_catkin_src
()
src/rpdiff/utils/path_util.py:8
Functionget_rpdiff_data
()
src/rpdiff/utils/path_util.py:20
Functionget_rpdiff_demo_obj_descriptions
()
src/rpdiff/utils/path_util.py:40
Functionget_rpdiff_eval_data
()
src/rpdiff/utils/path_util.py:28
Functionget_rpdiff_model_weights
()
src/rpdiff/utils/path_util.py:48
Functionget_rpdiff_obj_descriptions
()
src/rpdiff/utils/path_util.py:36
Functionget_rpdiff_recon_data
()
src/rpdiff/utils/path_util.py:24
Functionget_rpdiff_share
()
src/rpdiff/utils/path_util.py:16
Methodget_skill_name
(self)
src/rpdiff/utils/point_cloud_fusion.py:647
Methodget_surface_name
(self)
src/rpdiff/utils/point_cloud_fusion.py:650
Functionget_thresh_sched_binary
(it, it_max, warmup=0, mq_int=1000, full_by_frac=0.5, verbose=False)
src/rpdiff/training/train_util.py:60
Functionget_train_config_dir
()
src/rpdiff/utils/path_util.py:52
Methodget_trial_number
(self)
src/rpdiff/data_gen/rel_demo_aug/parallel_proc_gen_rel_demos.py:885
Methodget_worker_ids
(self)
src/rpdiff/data_gen/rel_demo_aug/parallel_proc_gen_rel_demos.py:868
Methodgripper_scene_collision
(self, viz=False, normalize=False)
src/rpdiff/utils/point_cloud_fusion.py:240
Functionhasattr_and_not_none
(o, st: str)
src/rpdiff/utils/util.py:56
Functionhasattr_and_true
(o, st: str)
src/rpdiff/utils/util.py:64
Functionhide_link
(obj_id, link_id)
src/rpdiff/data_gen/rel_demo_aug/scene_proc_gen.py:60
Methodin_poly_hull_single
Function to check if a 3D point falls inside of the convex hull of a set of 3D points. A convex hull for the collision geometry is com
src/rpdiff/utils/point_cloud_fusion.py:821
Methodinfer_book_in_bookshelf
Generate relative transformation of bottle (child object) that is likely to be placed upright in a container (parent object), ideally
src/rpdiff/utils/relational_policy/procedural_generation.py:893
Methodinfer_bottle_in_container
Generate relative transformation of bottle (child object) that is likely to be placed upright in a container (parent object), ideally
src/rpdiff/utils/relational_policy/procedural_generation.py:779
Methodinfer_bowl_on_mug
Generate relative transformation of bowl (child object) that is likely to be stacked on mug (parent object). Uses prior knowledge of
src/rpdiff/utils/relational_policy/procedural_generation.py:695
Methodinfer_can_in_cabinet
Generate relative transformation of can (child object) that is likely to be placed upright in a cabinet (parent object) in either an
src/rpdiff/utils/relational_policy/procedural_generation.py:1058
Methodinfer_mug_on_rack
Generate relative transformation of mug (child object) that is likely to hang on rack (parent object). Uses prior knowledge and heuri
src/rpdiff/utils/relational_policy/procedural_generation.py:66
Methodinfer_mug_on_rack_multi
(self, parent_pcd: np.ndarray, child_pcd: np.ndarray, parent_mesh_list: List[
src/rpdiff/utils/relational_policy/procedural_generation.py:280
Methodinit_palms
Initilize the palm attributes based on some sampled palm poses. Also implements heuristic corrections of the palm samples based on the transfo
src/rpdiff/utils/point_cloud_fusion.py:556
Methodinit_skill
Setter function for internal surface attribute Args: skill_name (str): Name of skill that is used to reach this node
src/rpdiff/utils/point_cloud_fusion.py:627
Methodinit_state
Initialize the pointcloud and transformation attributes based on some initial node (state) and sampled transformation. Args:
src/rpdiff/utils/point_cloud_fusion.py:494
Methodinit_surface
Setter function for internal surface attribute Args: surface_name (str): Name of surface that object is on at this node
src/rpdiff/utils/point_cloud_fusion.py:618
Methodinitialize_weights
(self)
src/rpdiff/model/policy_feat_encoder.py:44
Methodinteraction
(self, *args, **kwargs)
src/rpdiff/utils/fork_pdb.py:10
Functioninterpolate_pose
( pose_initial: PoseStamped, pose_final: PoseStamped, N: int)
src/rpdiff/utils/util.py:283
Functioniterative_regression
Iteratively predict the relative transformation in one shot, applying each prediction to the shape and feeding the transformed shape back
src/rpdiff/utils/relational_policy/inference_methods.py:76
Functioniterative_regression_feat_combine
Iteratively predict the relative transformation in one shot, applying each prediction to the shape and feeding the transformed shape back
src/rpdiff/utils/relational_policy/inference_methods.py:396
Functioniterative_regression_scene_combine
Iteratively predict the relative transformation in one shot, applying each prediction to the shape and feeding the transformed shape back
src/rpdiff/utils/relational_policy/inference_methods.py:1998
Functioniterative_regression_scene_combine_sc
Iteratively predict the relative transformation in one shot, applying each prediction to the shape and feeding the transformed shape back
src/rpdiff/utils/relational_policy/inference_methods.py:800
Functioniterative_regression_transformer_combine
Iteratively predict the relative transformation in one shot, applying each prediction to the shape and feeding the transformed shape back
src/rpdiff/utils/relational_policy/inference_methods.py:2330
Functionknn_interpolate
from torch_cluster
src/rpdiff/utils/torch_scatter_utils.py:34
Functionlift
:param self: :param x: Shape (batch_size, num_points) :param y: :param z: :param intrinsics: :return:
src/rpdiff/utils/geometry_np.py:24
Functionlist_to_pose
(pose_list: List[float])
src/rpdiff/utils/util.py:341
Functionload_config
Loads config file. Args: path (str): path to config file default_path (bool): whether to use default path
src/rpdiff/utils/config_util.py:8
Functionload_config
Loads config file. Args: path (str): path to config file default_path (bool): whether to use default path
src/rpdiff/utils/util.py:22
Functionmake_bookshelf_save_occ_f
(obj_name, obj_number, cfg, normalizing_factor)
src/rpdiff/data_gen/model_gen/syn_bookshelf_gen.py:79
Functionmake_container_save_occ_f
(obj_name, obj_number, cfg, normalizing_factor)
src/rpdiff/data_gen/model_gen/syn_container_gen.py:72
Functionmake_rack_save_occ_f
(obj_name, obj_number, rack_cfg, normalizing_factor)
src/rpdiff/data_gen/model_gen/syn_rack_gen.py:156
Functionmanual_place_success
(ppcd_world, cpcd_world, mc_vis)
src/rpdiff/utils/relational_policy/filter_multimodal_placement.py:118
Functionmatrix_to_rotation_6d
Converts rotation matrices to 6D rotation representation by Zhou et al. [1] by dropping the last row. Note that 6D representation is not uniq
src/rpdiff/utils/torch3d_util.py:573
Functionmaxpool
(x, dim=-1, keepdim=False)
src/rpdiff/utils/torch_util.py:10
Functionmeanpool
(x, dim=-1, keepdim=False)
src/rpdiff/utils/torch_util.py:15
Functionmeshcat_frame_show
Initializes coordinate axes of a frame T. The x-axis is drawn red, y-axis green and z-axis blue. The axes point in +x, +y and +z directions,
src/rpdiff/utils/util.py:799
Functionmeshcat_multiple_pcd_show
( mc_vis: meshcat.Visualizer, point_cloud_list: List[np.ndarray], color_list: List[np.ndarray
src/rpdiff/utils/util.py:774
Functionmeshcat_trimesh_show
( mc_vis: meshcat.Visualizer, name: str, trimesh_mesh: Trimesh, color: Tuple[int]=(128, 128,
src/rpdiff/utils/util.py:836
Methodmove_ee_xyz
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:455
Functionmultistep_qattn_scene_combine_sc
Relative pose predictions made in multiple iterative steps. Uses: - a final success classifier - potentially two versions of the re
src/rpdiff/utils/relational_policy/multistep_pose_regression.py:1469
Functionmultistep_regression_scene_combine_sc
Directly predict the relative transformation in one shot
src/rpdiff/utils/relational_policy/inference_methods.py:855
Functionmultistep_regression_scene_combine_sc
Relative pose predictions made in multiple iterative steps. Uses: - a final success classifier - potentially two versions of the re
src/rpdiff/utils/relational_policy/multistep_pose_regression.py:34
Functionnormalize_3d_coordinate
Normalize coordinate to [0, 1] for unit cube experiments. Corresponds to our 3D model Args: p (tensor): point padding (f
src/rpdiff/utils/mesh_util/three_util.py:91
Functionnormalize_3d_coordinate_np
Normalize coordinate to [0, 1] for unit cube experiments. Corresponds to our 3D model Args: p (tensor): point padding (f
src/rpdiff/utils/mesh_util/three_util.py:131
Functionnp2img
(np_array: np.ndarray, img_file: str)
src/rpdiff/utils/util.py:72
Functionnpz2dict
(npz: NpzFile)
src/rpdiff/utils/util.py:36
Functionnpz2dict
(npz)
src/rpdiff/utils/pcd_aug_util.py:31
Functiono3d_fps
(np_pcd, num_samples=1024)
src/rpdiff/training/dataio_full_chunked.py:30
Methodobj_scene_collision
(self, viz=False, normalize=False)
src/rpdiff/utils/point_cloud_fusion.py:203
Functionoccupancy
(model_outputs, ground_truth, val=False)
src/rpdiff/training/losses.py:31
Methodopen3d_pcd_init
Helper function to initialize an open3d pointcloud object from a numpy array Args: points (np.ndarray): N X 3 pointcloud array
src/rpdiff/utils/point_cloud_fusion.py:757
Functionori_difference
(ori_1: np.ndarray, ori_2: np.ndarray)
src/rpdiff/utils/util.py:448
← previousnext →401–500 of 592, ranked by callers