Upload successful poses till round 2
#1
by Asp1rinn - opened
This view is limited to 50 files because it contains too many changes. See the raw diff here.
- .gitattributes +19 -0
- RobotPosterior_titan_tillR2/A01001_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/A01002_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A01005_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/A01006_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A01008_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A01009_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A01010_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A01023_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A01026_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A01027_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A02011_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A02012_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A02014_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/A02015_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A02018_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A02021_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A02028_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A02029_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/A02030_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A02031_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A02032_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/A15015_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/A15027_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/A16012_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/A16013_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/A16026_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/C13001_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/C14001_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/C15001_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/C22001_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/C26001_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/C37001_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/C42001_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/C52001_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/C91001_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/O01000_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/O02001_robot_gt_merged.hdf5 +3 -0
- RobotPosterior_titan_tillR2/O03001_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/O03003_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/O24001_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/O36001_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/O36002_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/O50001_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/README.md +117 -0
- RobotPosterior_titan_tillR2/S10005_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/S10007_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/S10009_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/S10010_robot_gt_merged.hdf5 +0 -0
- RobotPosterior_titan_tillR2/S10019_robot_gt_merged.hdf5 +0 -0
.gitattributes
CHANGED
|
@@ -84,3 +84,22 @@ S16003_robot_gt.hdf5 filter=lfs diff=lfs merge=lfs -text
|
|
| 84 |
S16005_robot_gt.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 85 |
Y29040_robot_gt.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 86 |
ycb_dex_04_robot_gt.hdf5 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
S16005_robot_gt.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 85 |
Y29040_robot_gt.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 86 |
ycb_dex_04_robot_gt.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 87 |
+
RobotPosterior_titan_tillR2/A01002_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 88 |
+
RobotPosterior_titan_tillR2/A01006_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 89 |
+
RobotPosterior_titan_tillR2/A01008_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 90 |
+
RobotPosterior_titan_tillR2/A01009_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 91 |
+
RobotPosterior_titan_tillR2/A01010_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 92 |
+
RobotPosterior_titan_tillR2/A01023_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 93 |
+
RobotPosterior_titan_tillR2/A01026_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 94 |
+
RobotPosterior_titan_tillR2/A01027_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 95 |
+
RobotPosterior_titan_tillR2/A02011_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 96 |
+
RobotPosterior_titan_tillR2/A02012_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 97 |
+
RobotPosterior_titan_tillR2/A02015_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 98 |
+
RobotPosterior_titan_tillR2/A02018_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 99 |
+
RobotPosterior_titan_tillR2/A02021_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 100 |
+
RobotPosterior_titan_tillR2/A02028_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 101 |
+
RobotPosterior_titan_tillR2/A02030_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 102 |
+
RobotPosterior_titan_tillR2/A02031_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 103 |
+
RobotPosterior_titan_tillR2/A15027_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 104 |
+
RobotPosterior_titan_tillR2/A16026_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 105 |
+
RobotPosterior_titan_tillR2/O02001_robot_gt_merged.hdf5 filter=lfs diff=lfs merge=lfs -text
|
RobotPosterior_titan_tillR2/A01001_robot_gt_merged.hdf5
ADDED
|
Binary file (74.3 kB). View file
|
|
|
RobotPosterior_titan_tillR2/A01002_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b4fe08068dfa5550b4ff9a5d0ecb1dc75706a362e273e96072477aefa51a278
|
| 3 |
+
size 100256
|
RobotPosterior_titan_tillR2/A01005_robot_gt_merged.hdf5
ADDED
|
Binary file (28.3 kB). View file
|
|
|
RobotPosterior_titan_tillR2/A01006_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:25ddd5e6e2fab56247042dbb6731f2f6c38de369da1197cc811b1221f2f9d428
|
| 3 |
+
size 240352
|
RobotPosterior_titan_tillR2/A01008_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e87ad94a14735738dfcb138fc57730e6d110e149ac8cad910a255518bf52b933
|
| 3 |
+
size 136728
|
RobotPosterior_titan_tillR2/A01009_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08ed8a09ef721d14a9ee431f6c3150359a4fd28d883fd7337b9a30dd8ba2cb15
|
| 3 |
+
size 115056
|
RobotPosterior_titan_tillR2/A01010_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8474344f3bf994e8cd69b51f0367a1a43d78b3cfb623ab8672bbd7cec4052fac
|
| 3 |
+
size 100256
|
RobotPosterior_titan_tillR2/A01023_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46823d50f0954f7bb31c8061f923cf08936594ccf0ee07011f02b7dac41704bf
|
| 3 |
+
size 173288
|
RobotPosterior_titan_tillR2/A01026_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc13d42b86a931678faa0fa8d4f197d59778c1684e5cf3d2d8d784526977687b
|
| 3 |
+
size 233480
|
RobotPosterior_titan_tillR2/A01027_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:adfb838b7446c9a24f04750538ae76a618c1d1870387b41304d414d61cce083d
|
| 3 |
+
size 178112
|
RobotPosterior_titan_tillR2/A02011_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27c611d983ab5a5eb616e7074bf5c5839398883ab89167bb0241a1fc104bb884
|
| 3 |
+
size 173288
|
RobotPosterior_titan_tillR2/A02012_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ab667e89c86b9bede40d102d593c938c7ec0dd89a42bcc048a7196298f423a3
|
| 3 |
+
size 146792
|
RobotPosterior_titan_tillR2/A02014_robot_gt_merged.hdf5
ADDED
|
Binary file (42.8 kB). View file
|
|
|
RobotPosterior_titan_tillR2/A02015_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54ff051ce49c6092957822403ab7bb01b2cd53db14117bb619d97f0f9b117525
|
| 3 |
+
size 277568
|
RobotPosterior_titan_tillR2/A02018_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc05f8086e3a5b58deb0e6594182d6c0280ae872acc1e45350b938ab4255f29c
|
| 3 |
+
size 146792
|
RobotPosterior_titan_tillR2/A02021_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c19c65a6c9026ed531a56c5fa80ae93e5d23cbb7c8c6e1ba9aeb91ccd1089b62
|
| 3 |
+
size 287216
|
RobotPosterior_titan_tillR2/A02028_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3d65aba4fc7c242a99ad27bf462effe47186a36546f6203859b842fce06fe2e
|
| 3 |
+
size 259976
|
RobotPosterior_titan_tillR2/A02029_robot_gt_merged.hdf5
ADDED
|
Binary file (64.6 kB). View file
|
|
|
RobotPosterior_titan_tillR2/A02030_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:865eddb1f67e4db76f66bdd14d8a0cecf71ce5612f9d1eb291f749167e874428
|
| 3 |
+
size 105080
|
RobotPosterior_titan_tillR2/A02031_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0aff1b1c3c0f8f2eb126294617a410e9f48f448447c41db843599ad77a20d98e
|
| 3 |
+
size 115056
|
RobotPosterior_titan_tillR2/A02032_robot_gt_merged.hdf5
ADDED
|
Binary file (74.3 kB). View file
|
|
|
RobotPosterior_titan_tillR2/A15015_robot_gt_merged.hdf5
ADDED
|
Binary file (13.8 kB). View file
|
|
|
RobotPosterior_titan_tillR2/A15027_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d43907d40836b85d40a6f88b753de2658bd9861b7ba196d61e6a425a0ca8246
|
| 3 |
+
size 250328
|
RobotPosterior_titan_tillR2/A16012_robot_gt_merged.hdf5
ADDED
|
Binary file (91.3 kB). View file
|
|
|
RobotPosterior_titan_tillR2/A16013_robot_gt_merged.hdf5
ADDED
|
Binary file (69.4 kB). View file
|
|
|
RobotPosterior_titan_tillR2/A16026_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71d80218b145f4aeb385fc0d534feafb28bad9c2955fae84902eb06d9d826d92
|
| 3 |
+
size 156768
|
RobotPosterior_titan_tillR2/C13001_robot_gt_merged.hdf5
ADDED
|
Binary file (18.7 kB). View file
|
|
|
RobotPosterior_titan_tillR2/C14001_robot_gt_merged.hdf5
ADDED
|
Binary file (13.8 kB). View file
|
|
|
RobotPosterior_titan_tillR2/C15001_robot_gt_merged.hdf5
ADDED
|
Binary file (13.8 kB). View file
|
|
|
RobotPosterior_titan_tillR2/C22001_robot_gt_merged.hdf5
ADDED
|
Binary file (18.7 kB). View file
|
|
|
RobotPosterior_titan_tillR2/C26001_robot_gt_merged.hdf5
ADDED
|
Binary file (74.3 kB). View file
|
|
|
RobotPosterior_titan_tillR2/C37001_robot_gt_merged.hdf5
ADDED
|
Binary file (74.3 kB). View file
|
|
|
RobotPosterior_titan_tillR2/C42001_robot_gt_merged.hdf5
ADDED
|
Binary file (13.8 kB). View file
|
|
|
RobotPosterior_titan_tillR2/C52001_robot_gt_merged.hdf5
ADDED
|
Binary file (33.1 kB). View file
|
|
|
RobotPosterior_titan_tillR2/C91001_robot_gt_merged.hdf5
ADDED
|
Binary file (18.7 kB). View file
|
|
|
RobotPosterior_titan_tillR2/O01000_robot_gt_merged.hdf5
ADDED
|
Binary file (38 kB). View file
|
|
|
RobotPosterior_titan_tillR2/O02001_robot_gt_merged.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33f495dbcd5a043b5b2784c81cded5d2e4a7bfc7195874b8d8e0a073263078cf
|
| 3 |
+
size 163640
|
RobotPosterior_titan_tillR2/O03001_robot_gt_merged.hdf5
ADDED
|
Binary file (64.6 kB). View file
|
|
|
RobotPosterior_titan_tillR2/O03003_robot_gt_merged.hdf5
ADDED
|
Binary file (28.3 kB). View file
|
|
|
RobotPosterior_titan_tillR2/O24001_robot_gt_merged.hdf5
ADDED
|
Binary file (33.1 kB). View file
|
|
|
RobotPosterior_titan_tillR2/O36001_robot_gt_merged.hdf5
ADDED
|
Binary file (79.1 kB). View file
|
|
|
RobotPosterior_titan_tillR2/O36002_robot_gt_merged.hdf5
ADDED
|
Binary file (55 kB). View file
|
|
|
RobotPosterior_titan_tillR2/O50001_robot_gt_merged.hdf5
ADDED
|
Binary file (13.8 kB). View file
|
|
|
RobotPosterior_titan_tillR2/README.md
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# merged — 多轮 Sim 成功抓取合并结果
|
| 2 |
+
|
| 3 |
+
本目录下每个文件对应一个物体:`{obj_id}_robot_gt_merged.hdf5`。
|
| 4 |
+
只包含 **Isaac Sim 验证成功** 的抓取;无成功抓取的物体不会生成文件。
|
| 5 |
+
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
## 数据怎么来的
|
| 9 |
+
|
| 10 |
+
流水线(详见仓库 `docs/grasp_collect_pipeline.md`):
|
| 11 |
+
|
| 12 |
+
```
|
| 13 |
+
SAM3D mesh + scale
|
| 14 |
+
→ tools/convert_obj_usd.py → output/obj_usd/oakink/{obj}.usd
|
| 15 |
+
→ tools/random_grasp_sampler.py → candidates/round_XXXX/{obj}_grasp.hdf5
|
| 16 |
+
→ sim/run_grasp_sim.py → robot_gt/round_XXXX/{obj}_robot_gt.hdf5
|
| 17 |
+
→ tools/merge_robot_gt.py → merged/{obj}_robot_gt_merged.hdf5 (本目录)
|
| 18 |
+
```
|
| 19 |
+
|
| 20 |
+
说明:
|
| 21 |
+
|
| 22 |
+
1. **候选**:`inference/grasp_pose.py` / `random_grasp_sampler` 在物体坐标系下生成多组抓取(raycast 等),写入 `candidates/round_XXXX/*_grasp.hdf5`。
|
| 23 |
+
2. **Sim GT**:`run_grasp_sim.py` 在 Isaac Sim 中物理闭合夹爪,只把 **仿真成功** 的 pose 写入 `robot_gt/round_XXXX/*_robot_gt.hdf5` 的 `successful_grasps`;失败的候选在单轮文件里可能在 `candidate_results`,**合并时不会读**。
|
| 24 |
+
3. **合并**:`merge_robot_gt.py`(或 `scripts/batch_grasp_collect.py` 每轮 sim 结束后自动调用)把该物体 **所有 round** 的 `successful_grasps` 拼到一个 HDF5。默认 **不去重**;若 batch 开启 `--merge-deduplicate`,会按位置/朝向去掉近似重复,并在文件属性里标记 `deduplicated=true`。
|
| 25 |
+
|
| 26 |
+
默认 mesh 策略:**`--no-rotation`**(与 SAM3D 原始朝向一致);`mesh_prerotation` 多为单位阵(`method=identity`)。
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
## 文件命名
|
| 31 |
+
|
| 32 |
+
| 模式 | 示例 |
|
| 33 |
+
|------|------|
|
| 34 |
+
| `{obj_id}_robot_gt_merged.hdf5` | `A01001_robot_gt_merged.hdf5` |
|
| 35 |
+
|
| 36 |
+
`obj_id` 为 OakInk 等数据集中的物体 ID(如 `A01001`、`O02001`)。
|
| 37 |
+
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
## HDF5 结构
|
| 41 |
+
|
| 42 |
+
### 根(文件级 attributes)
|
| 43 |
+
|
| 44 |
+
| 属性 | 类型 | 含义 |
|
| 45 |
+
|------|------|------|
|
| 46 |
+
| `obj_id` | str | 物体 ID |
|
| 47 |
+
| `success` | bool | 是否有至少一条成功抓取 |
|
| 48 |
+
| `n_successful` | int | 合并后的成功抓取条数 |
|
| 49 |
+
| `n_before_merge` | int | 合并前各轮成功条数之和(去重前) |
|
| 50 |
+
| `deduplicated` | bool | 合并时是否做了近重复剔除 |
|
| 51 |
+
| `n_source_files` | int | 参与合并的 `robot_gt` 文件个数 |
|
| 52 |
+
| `source_files` | str[] | 各轮 `*_robot_gt.hdf5` 的绝对路径(溯源用) |
|
| 53 |
+
|
| 54 |
+
### 组 `successful_grasps/`
|
| 55 |
+
|
| 56 |
+
- 属性 `count`:与 `n_successful` 相同。
|
| 57 |
+
- 子组 `grasp_0`, `grasp_1`, …(按合并顺序编号,**不是**原始候选名)。
|
| 58 |
+
|
| 59 |
+
每个 `grasp_i`:
|
| 60 |
+
|
| 61 |
+
**Attributes**
|
| 62 |
+
|
| 63 |
+
| 属性 | 含义 |
|
| 64 |
+
|------|------|
|
| 65 |
+
| `name` | 原始候选名(如 `raycast_3`) |
|
| 66 |
+
| `score` | 生成阶段的抓取质量分 |
|
| 67 |
+
| `gripper_width` | 标称夹爪开口(米) |
|
| 68 |
+
| `approach_type` | 生成方式(如 `raycast`) |
|
| 69 |
+
| `source_file` | 该条来自哪一轮 `robot_gt` HDF5 |
|
| 70 |
+
| `has_contact_points` | Sim 是否写出接触点 |
|
| 71 |
+
| `finger_width_actual` | Sim 实测指宽(仅 `has_contact_points=true` 时有意义) |
|
| 72 |
+
|
| 73 |
+
**Datasets(坐标均在物体局部坐标系,单位:米)**
|
| 74 |
+
|
| 75 |
+
| 数据集 | shape | 含义 |
|
| 76 |
+
|--------|-------|------|
|
| 77 |
+
| `grasp_point` | (3,) | 抓取中心 |
|
| 78 |
+
| `rotation` | (3, 3) | 抓取姿态旋转矩阵;列 0 = 手指方向,列 2 = 接近方向 |
|
| 79 |
+
| `approach_dir` | (3,) | `rotation` 第 3 列 |
|
| 80 |
+
| `finger_dir` | (3,) | `rotation` 第 1 列 |
|
| 81 |
+
| `contact_points_local` | (K, 3) | 指尖接触点(物体系;仅部分抓取有) |
|
| 82 |
+
|
| 83 |
+
**子组 `mesh_prerotation/`**(与 USD / sampler 一致的 mesh 预旋转)
|
| 84 |
+
|
| 85 |
+
| 成员 | 含义 |
|
| 86 |
+
|------|------|
|
| 87 |
+
| `euler_xyz_deg` (3,) | 预旋转欧拉角(度) |
|
| 88 |
+
| `matrix` (3, 3) | 同上,旋转矩阵 |
|
| 89 |
+
| attrs `dataset` | 数据集名(如 `oakink`) |
|
| 90 |
+
| attrs `method` | 如 `identity` 或 `rotation.json` |
|
| 91 |
+
| attrs `rotation_json_path` | 若来自 canonical rotation,对应 json 路径 |
|
| 92 |
+
|
| 93 |
+
---
|
| 94 |
+
|
| 95 |
+
## 读取示例
|
| 96 |
+
|
| 97 |
+
```python
|
| 98 |
+
import h5py
|
| 99 |
+
|
| 100 |
+
with h5py.File("A01001_robot_gt_merged.hdf5", "r") as f:
|
| 101 |
+
obj_id = f.attrs["obj_id"]
|
| 102 |
+
n = f.attrs["n_successful"]
|
| 103 |
+
g0 = f["successful_grasps/grasp_0"]
|
| 104 |
+
point = g0["grasp_point"][:]
|
| 105 |
+
R = g0["rotation"][:]
|
| 106 |
+
name = g0.attrs["name"]
|
| 107 |
+
```
|
| 108 |
+
|
| 109 |
+
---
|
| 110 |
+
|
| 111 |
+
## 相关脚本
|
| 112 |
+
|
| 113 |
+
| 脚本 | 作用 |
|
| 114 |
+
|------|------|
|
| 115 |
+
| `tools/merge_robot_gt.py` | 手动合并多轮 `robot_gt` |
|
| 116 |
+
| `scripts/batch_grasp_collect.py` | 全量 batch,自动写本目录 |
|
| 117 |
+
| `tools/vis_robot_gt.py` | 可视化成功抓取 |
|
RobotPosterior_titan_tillR2/S10005_robot_gt_merged.hdf5
ADDED
|
Binary file (23.5 kB). View file
|
|
|
RobotPosterior_titan_tillR2/S10007_robot_gt_merged.hdf5
ADDED
|
Binary file (18.7 kB). View file
|
|
|
RobotPosterior_titan_tillR2/S10009_robot_gt_merged.hdf5
ADDED
|
Binary file (13.8 kB). View file
|
|
|
RobotPosterior_titan_tillR2/S10010_robot_gt_merged.hdf5
ADDED
|
Binary file (18.7 kB). View file
|
|
|
RobotPosterior_titan_tillR2/S10019_robot_gt_merged.hdf5
ADDED
|
Binary file (18.7 kB). View file
|
|
|