MCPcopy Create free account

hub / github.com/THU-VCLab/HGGD / functions

Functions616 in github.com/THU-VCLab/HGGD

Method__getitem__
(self, idx)
dataset/base_grasp_dataset.py:267
Method__getitem__
(self, index)
dataset/grasp.py:260
Method__getitem__
(self, index)
dataset/grasp.py:591
Method__getitem__
(self, index)
dataset/graspnet_dataset.py:126
Method__getitem__
**Input:** - index: int, slice, list or np.ndarray. **Output:** - if index is int, return Grasp instance.
customgraspnetAPI/grasp.py:273
Method__getitem__
**Input:** - index: int, slice, list or np.ndarray. **Output:** - if index is int, return Grasp instance.
customgraspnetAPI/grasp.py:870
Method__getitem__
(self, key)
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_config.py:78
Method__getitem__
Returns the signed distance at the given coordinates. Parameters ---------- coords : :obj:`numpy.ndarray` of int
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:129
Method__getitem__
Returns the signed distance at the given coordinates. Parameters ---------- coords : :obj:`numpy.ndarray` of int
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:360
Method__init__
(self, all_points_num)
demo.py:60
Method__init__
(self)
dataset/base_grasp_dataset.py:58
Method__init__
(self, translation=np.zeros((3, )), rotation=np.eye(3), hei
dataset/grasp.py:23
Method__init__
(self, translations=None, rotations=None, heights=None,
dataset/grasp.py:204
Method__init__
(self, center=np.zeros((2, )), depth=0, height=20,
dataset/grasp.py:436
Method__init__
(self, centers=None, heights=None, widths=None,
dataset/grasp.py:527
Method__init__
(self, labelroot, graspnetroot, sceneIds,
dataset/graspnet_dataset.py:27
Method__init__
(self, all_points_num, *args, **kwargs)
dataset/graspnet_dataset.py:115
Method__init__
(self, all_points_num)
dataset/utils.py:189
Method__init__
(self, scene_points, voxel_size=0.005, mode='regnet')
dataset/collision_detector.py:12
Method__init__
**Input:** - args can be a numpy array or tuple of the score, width, height, depth, rotation_matrix, translation, object_id
customgraspnetAPI/grasp.py:22
Method__init__
**Input:** - args can be (1) nothing (2) numpy array of grasp group array (3) str of the npy file.
customgraspnetAPI/grasp.py:231
Method__init__
**Input:** - args can be a numpy array or tuple of the center_x, center_y, open_x, open_y, height, score, object_id - the f
customgraspnetAPI/grasp.py:608
Method__init__
**Input:** - args can be (1) nothing (2) numpy array of rect_grasp_group_array (3) str of the numpy file.
customgraspnetAPI/grasp.py:826
Method__init__
(self, root, camera, split='test')
customgraspnetAPI/graspnet_eval.py:30
Method__init__
graspnetAPI main class. **input**: - camera: string of type of camera: "kinect" or "realsense" - split: string of type of s
customgraspnetAPI/graspnet.py:76
Method__init__
(self, topfromreader=None)
customgraspnetAPI/utils/xmlhandler.py:19
Method__init__
(self, xmlfilename)
customgraspnetAPI/utils/xmlhandler.py:83
Method__init__
(self, width, height, fx, fy, cx, cy, scale)
customgraspnetAPI/utils/utils.py:17
Method__init__
(self, id, x, y, z, alpha, beta, gamma)
customgraspnetAPI/utils/pose.py:15
Method__init__
(self, function)
customgraspnetAPI/utils/dexnet/abstractstatic.py:29
Method__init__
(self, configuration, max_grasp_depth=0, frame='object',
customgraspnetAPI/utils/dexnet/grasping/grasp.py:121
Method__init__
(self, configuration, frame='object', grasp_id=None)
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1317
Method__init__
(self, sdf, mesh, key='', model_name='',
customgraspnetAPI/utils/dexnet/grasping/graspable_object.py:119
Method__init__
(self, graspable, contact_point, in_direction=None)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:62
Method__init__
(self, proj_win, grad, hess_x, hess_y, gauss_curvature)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:768
Method__init__
(self, config)
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_config.py:124
Method__init__
(self, config)
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_config.py:170
Method__init__
(self, graspable, quality_config)
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_function.py:81
Method__init__
(self, graspable, quality_config)
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_function.py:122
Method__init__
(self, graspable, quality_config, T_obj_world=RigidTransfor
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_function.py:162
Method__init__
(self, sdf_data, origin, resolution, use_a
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:217
Method__init__
Construct and initialize a .obj file reader and writer. Parameters ---------- filepath : :obj:`str` The full path
customgraspnetAPI/utils/dexnet/grasping/meshpy/obj_file.py:22
Method__init__
Construct a 3D triangular mesh. Parameters ---------- vertices : :obj:`numpy.ndarray` of float A #verts by 3 arra
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:68
Method__init__
Creates a Segment with given endpoints. Parameters ---------- p1 : :obj:`numpy.ndarray` of float
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:1676
Method__init__
(self, mesh, nodes, vertex_to_tri, edge_to_tri)
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:1767
Method__init__
Create a graph vertex with given probability and face. Parameters ---------- probability : float
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:1776
Method__init__
Construct and initialize a .sdf file reader and writer. Parameters ---------- filepath : :obj:`str` The full path
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf_file.py:21
Method__init__
Create a new stable pose object. Parameters ---------- p : float Probability associated with this stable pose.
customgraspnetAPI/utils/dexnet/grasping/meshpy/stable_pose.py:32
Method__init__
(self, model, bn_lambda, last_epoch=-1, se
models/anchornet.py:22
Method__init__
(self, in_dim, out_dim, kernel, bias=False
models/anchornet.py:74
Method__init__
(self, in_dim, out_dim, padding=1, output_
models/anchornet.py:94
Method__init__
(self, in_dim, out_dim, output_size=None, act=nn.ReLU)
models/anchornet.py:118
Method__init__
(self, ratio=1, in_dim=3, anchor_k=6, mid_
models/anchornet.py:141
Method__init__
(self, info_size, k_cls)
models/localgraspnet.py:15
Method__init__
(self, feature_len, extra_feature_len=32)
models/pointnet.py:50
Method__init__
(self, in_channels, out_channels, stride=1)
models/resnet_model.py:23
Method__init__
(self, in_channels, out_channels, stride=1)
models/resnet_model.py:65
Method__len__
(self)
dataset/base_grasp_dataset.py:76
Method__len__
(self)
dataset/grasp.py:550
Method__len__
(self)
customgraspnetAPI/graspnet.py:145
Method__repr__
(self)
dataset/grasp.py:284
Method__repr__
(self)
dataset/grasp.py:456
Method__repr__
(self)
dataset/grasp.py:618
Method__repr__
(self)
customgraspnetAPI/grasp.py:259
Method__repr__
(self)
customgraspnetAPI/grasp.py:629
Method__repr__
(self)
customgraspnetAPI/grasp.py:854
Method__repr__
(self)
customgraspnetAPI/utils/pose.py:28
Method_argmax
(f, a, b, n)
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1085
Method_argmin
(f, a, b, n)
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1014
Method_get_matrix_product_x_axis
(grasp_axis, normal)
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1027
Method_setup
(self)
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_function.py:133
Methodadd
**Input:** - rect_grasp: RectGrasp instance
customgraspnetAPI/grasp.py:895
Functionangle_distance_using_vector
(a: torch.Tensor, b: torch.Tensor)
dataset/utils.py:94
Methodapproach_angle
float : approach angle of the grasp
customgraspnetAPI/utils/dexnet/grasping/grasp.py:170
Methodasarray
(self, proj_win_weight=0.0, grad_x_weight=0.0, grad_y_weight=0
customgraspnetAPI/utils/dexnet/grasping/contacts.py:803
Methodaxis
:obj:`numpy.ndarray` : normalized 3-vector specifying the line between the jaws
customgraspnetAPI/utils/dexnet/grasping/grasp.py:150
Methodaxis
(self)
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1328
Functionbatch_center_depth
**Input:** - depths: numpy array of the depths. - centers: numpy array of the center points of shape(-1, 2). - open_points: numpy
util.py:314
Functionbatch_center_depth
**Input:** - depths: numpy array of the depths. - centers: numpy array of the center points of shape(-1, 2). - open_points: numpy
customgraspnetAPI/utils/utils.py:810
Methodbb_center
:obj:`numpy.ndarray` of float : The 3D location of the center of the mesh's minimal bounding box (read-only).
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:242
Methodbounding_box_mesh
Returns the mesh bounding box as a mesh. Returns ------- :obj:`Mesh3D` A Mesh3D representation of the mesh's boun
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:295
Functioncalculate_guidance_accuracy
(g, gt_bbs)
dataset/evaluation.py:311
Methodcenter
:obj:`numpy.ndarray` : 3-vector specifying the center of the jaws
customgraspnetAPI/utils/dexnet/grasping/grasp.py:141
Methodcenter
(self)
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1324
Methodcenter
Center of grid. This basically transforms the world frame to grid center. Returns ------- :obj:`numpy.ndarray`
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:63
Functioncenter_depth
**Input:** - depths: numpy array of the depths. - center: numpy array of the center point. - open_point: numpy array of the open p
customgraspnetAPI/utils/utils.py:791
Methodcenter_of_mass
:obj:`numpy.ndarray` of float : The 3D location of the mesh's center of mass.
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:196
Methodcenter_point
**Output:** - tuple of x,y of the center point.
customgraspnetAPI/grasp.py:694
Methodcenter_points
**Output:** - numpy array the center points of shape (-1, 2).
customgraspnetAPI/grasp.py:964
Methodcenter_vertices
Center the mesh's vertices on the mesh center of mass. This shifts the mesh without rotating it so that the center of its bounding bo
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:538
Methodcenter_vertices_avg
Center the mesh's vertices at the centroid. This shifts the mesh without rotating it so that the centroid (mean) of all vertices is a
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:518
Methodcenter_world
Center of grid (basically transforms world frame to grid center)
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:153
Methodcentroid
:obj:`numpy.ndarray` of float : The 3D location of the mesh's vertex mean (read-only).
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:250
MethodcheckDataCompleteness
Check whether the dataset files are complete. **Output:** - bool, True for complete, False for not complete.
customgraspnetAPI/graspnet.py:148
Methodcheck_valid
(self, config)
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_config.py:132
Methodcheck_valid
(self, config)
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_config.py:178
Methodclose_fingers
Steps along grasp axis to find the locations of contact with an object. Parameters ---------- obj : :obj:`GraspableOb
customgraspnetAPI/utils/dexnet/grasping/grasp.py:456
Methodclose_fingers_with_contacts
Steps along grasp axis to find the locations of contact with an object. Parameters ---------- obj : :obj:`GraspableOb
customgraspnetAPI/utils/dexnet/grasping/grasp.py:580
Methodclose_width
float : minimum opening width of the jaws
customgraspnetAPI/utils/dexnet/grasping/grasp.py:160
Methodcompute_vertex_normals
Get normals from triangles.
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:587
← previousnext →301–400 of 616, ranked by callers