christsa / dgrasp

Official code release for CVPR 2022 paper D-Grasp: Physically Plausible Dynamic Grasp Synthesis for Hand-Object Interactions
Other
78 stars 13 forks source link

image# D-Grasp: Physically Plausible Dynamic Grasp Synthesis for Hand-Object Interactions

Paper | Video | Project Page

Official code release for the CVPR 2022 paper D-Grasp: Physically Plausible Dynamic Grasp Synthesis for Hand-Object Interactions.

Contents

  1. RaiSim Update
  2. Info
  3. Installation
  4. Demo
  5. Training
  6. Evaluation
  7. Citation
  8. License

Checkout D-Grasp Follow-ups

👐🏼 ArtiGrasp - Learns two-handed grasping and articulation of objects.

🧍🏻 Full-Body Grasping - Learns full-body grasping and manipulation of objects, including trajectory-following.

RaiSim Update

In the latest commit, RaiSim was updated to the newest version (1.1.6). Training D-Grasp is more stable and faster now (see RaiSim changelog). To get an already existing code-base to run, it should be re-built from scratch since the simulation backbone and some of the wrapper files and functions have been updated.

Info

This code was tested with Python 3.8 on Ubuntu 18.04 and 20.04 and an NVIDIA GeForce RTX 2080 Ti. You require about 1.8GB of space because the repository comes with all the features of the RaiSim physics simulation, as D-Grasp is integrated into RaiSim.

The D-Grasp related code can be found in the raisimGymTorch subfolder.

Installation

For good practice for Python package management, it is recommended to use virtual environments (e.g., virtualenv or conda) to ensure packages from different projects do not interfere with each other.

For installation, see and follow our documentation of the installation steps under docs/INSTALLATION.md. Note that you need to get a valid, free license for the RaiSim physics simulation and an activation key via this link.

Demo

We provide some pretrained models to view the output of our method. They are stored in this folder. For interactive visualizations, you need to open the unity executable in the raisimUnity folder

Training

Quantiative Evaluations

Visual Evaluation

If you want interactive visualizations, you need to open the unity executable in the raisimUnity folder. The videos of the sequences will be stored within the raisimUnity/<OS>/Screenshot folder. Note that this does not work on headless servers.

Visual Evaluation Stability Test

Visual Evaluation Motion Synthesis

Data Generation (Coming Soon)

We provide the possibility to generate data with our framework and customized 6D target goal spaces.

Citation

To cite us, please use the following:

@inproceedings{christen2022dgrasp,
      title={D-Grasp: Physically Plausible Dynamic Grasp Synthesis for Hand-Object Interactions},
      author={Christen , Sammy and Kocabas, Muhammed and Aksan, Emre and Hwangbo, Jemin and Song, Jie and Hilliges, Otmar},
      booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
      year={2022}

License

See the following license.