YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
GraspNet-Infinite: scene stability labels
Stability labels of the GraspNet-Infinite scenes, one zip per split. Each zip holds the labels of every view of every scene of the split and the row metadata that belongs to them: the 3D point, the 2D pixel, the unique id of the object and the index of the object's label point, for every row.
| Related repository | What it holds |
|---|---|
lipeize/graspnet-infinite-scenes |
the scenes (images, depth, masks, poses), one zip per split, and under stability_labels/ the protocol and the scripts these labels are computed with |
lipeize/graspnet-infinite-object-label |
the objects' grasp labels and label meshes, by uid |
Files
| File | What |
|---|---|
<split>.zip |
labels and row metadata of every scene of the split |
<split>.zip.json |
the zip's bytes and sha256, its scenes, views and rows |
scene_numbers.csv |
the global scene numbers: number, split, scene |
PACKING.md, pack_split.py |
how a split is packed for this repository; every zip here is made by this script |
A split is here when both of its files are. There are 17 splits: train_1 to train_14, test_easy, test_medium, test_hard; 4,067 scenes with 8 views each.
Inside a zip
Scenes are named by their global scene number, four digits, never by a split's own index. Views are 0000 to 0007, the scene's eight images.
stability_label/<number>/stability_<view>.npz the labels of one view
meta/<number>/obj_<view>.npy the object of each row, by uid
meta/<number>/point3d_<view>.npy the 3D point of each row
meta/<number>/point2d_<view>.npy the 2D pixel of each row
meta/<number>/point_idx_<view>.npy which label point of the object each row is
meta/<number>/scene.json what the scene is and what was checked
One view
A view has N rows: the label points of the scene's objects that the camera sees in that view. Row k is the same point in all five files.
| File | Shape and type | Content |
|---|---|---|
stability_<view>.npz, array p |
(N, 300, 12, 4) uint8 | p = 1.1 - mu on the grasp lattice fixed in the camera frame (300 approach directions, 12 in-plane angles, 4 depths), stored as rint(clip(p, 0, 1) * 255). 0 means no stable grasp. A grasp counts as alive from p >= 0.2 (stored value 51 or more). |
stability_<view>.npz, array meta |
JSON string | version, mapping, encoding, number of rows |
obj_<view>.npy |
(N,) unicode | the unique id (uid) of the object the point belongs to. Objects are never numbered. |
point3d_<view>.npy |
(N, 3) float32 | the point in the camera frame of the view, metres (x right, y down, z forward) |
point2d_<view>.npy |
(N, 1, 2) int64 | its pixel (column, row) in the 1280 x 720 image |
point_idx_<view>.npy |
(N,) int32 | the row's index into points of the object's labels.npz (object-label repository) |
scene.json names the split, the scene's folder in the scene zip, the objects by uid, the camera, the object poses of every view and the checks that were made.
Which points are rows: a label point is a row when it projects into the image and the straight line from the camera to it meets no surface of the scene before it
(ray casting against the objects' meshes at their poses, and the table). PROTOCOL.md in lipeize/graspnet-infinite-scenes, stability_labels/, has the full description.
Reading a view
import io, zipfile, numpy as np
z = zipfile.ZipFile("train_1.zip"); n, v = "0003", "0000" # scene number, view
load = lambda name: np.load(io.BytesIO(z.read(name)), allow_pickle=False)
p = load(f"stability_label/{n}/stability_{v}.npz")["p"] # (N, 300, 12, 4) uint8
uid = load(f"meta/{n}/obj_{v}.npy") # (N,) object uid of each row
xyz = load(f"meta/{n}/point3d_{v}.npy") # (N, 3) camera frame, metres
px = load(f"meta/{n}/point2d_{v}.npy")[:, 0] # (N, 2) column, row
idx = load(f"meta/{n}/point_idx_{v}.npy") # (N,) index into the object's label points
score = p.astype(np.float32) / 255.0 # 1.1 - mu; 0 = no stable grasp
Scene numbers
| Split | Numbers | Split | Numbers |
|---|---|---|---|
| train_1 | 0000 to 0024 | train_10 | 1650 to 2049 |
| train_2 | 0025 to 0049 | train_11 | 2050 to 2449 |
| train_3 | 0050 to 0099 | train_12 | 2450 to 2772 |
| train_4 | 0100 to 0149 | train_13 | 2773 to 3269 |
| train_5 | 0150 to 0249 | train_14 | 3270 to 3766 |
| train_6 | 0250 to 0449 | test_easy | 3767 to 3866 |
| train_7 | 0450 to 0849 | test_medium | 3867 to 3966 |
| train_8 | 0850 to 1249 | test_hard | 3967 to 4066 |
| train_9 | 1250 to 1649 |
The labels of train_13 and train_14 are derived from Meta Digital Twin Catalog objects; the terms of those objects apply to them.
- Downloads last month
- 124