graspnet / graspnet-baseline

Baseline model for "GraspNet-1Billion: A Large-Scale Benchmark for General Object Grasping" (CVPR 2020)
https://graspnet.net/
Other
475 stars 142 forks source link

How to generate scene collision labels for custom datasets? #96

Closed xinchaosong closed 6 months ago

xinchaosong commented 7 months ago

Thank you very much for sharing your annotation toolbox with me last week. I'm wondering if there are also tools available that I can use to generate the collision labels for each scene in my own dataset. I'm currently trying to adapt the code in your toolbox to do this, but I'm not sure if this is the best way to go. The scenes in my dataset are very simple: I have only one object in each scene and I just need to detect if any grasps in the generated grasp labels collide with the tabletop. Thank you in advance for any advice.

chenxi-wang commented 6 months ago

Hi, you're right. The easiest way is to adapt the code in graspnetAPI or utils/collision_detector.py to your project. We use a similar function in GraspNet annotation.