GithubHelp home page GithubHelp logo

realfaith / cmg-net Goto Github PK

View Code? Open in Web Editor NEW

This project forked from midea-ai/cmg-net

0.0 0.0 0.0 1.32 MB

[ICRA 2023] CMG-Net: An End-to-End Contact-based Multi-Finger Dexterous Grasping Network

License: Other

C++ 4.52% Python 88.09% C 0.83% Cuda 6.42% CMake 0.14%

cmg-net's Introduction

CMG-Net

Baseline model for "CMG-Net: An End-to-End Contact-based Multi-Finger Dexterous Grasping Network" (ICRA 2023).

[arXiv]

In this repository, we propose an end-to-end deep neural network, CMG-Net, for multi-finger grasping.

ๅ›พ็‰‡

Requirements

  • Ubuntu 18.04 LTS
  • Python 3.7
  • PyTorch 1.7
  • Pybullet

Installation

This code has been tested with python3.7, pytorch 1.7, CUDA 10.1

Create the conda env

conda env create -f environment.yml

Compile and install pointnet2 operators (code adapted from VoteNet)

cd pointnet2
python setup.py install

Get Pyrender with OSMesa follow here

Download Models and Data

CMG-Net Model

Download trained model from here and extract it into the checkpoints/ folder.

Object Model

Download object models from here, extract them to the dataset/ folder and place them in the following structure:

dataset
|-- urdfs
|  |-- barrett_object
|  |-- setup

Training Data

Download a mini-dataset from here and extract it to the folder:

dataset
|-- view_7

Test Data

Download 50 test scenes from here and extract it to the folder:

dataset
|-- test

Inference

CMG-Net can output multi-finger hand configurations and grasp poses for an input single-shot viewpoint in a cluttered scene.

Using test scenes to test our CMG-Net and evaluate the Successful Rate(SR) in simulation, execute:

python3 test.py --use_normal --checkpoint_path checkpoints/36_vw7_1155_2048.pth

Training

Training CMG_Net

Start training with distributed data parallel:

python -m torch.distributed.launch --nproc_per_node=1 train.py --use_normal

Notes:

  • Please refer to the code to make changes to the relevant parameters.
  • The parameters for the camera and point cloud are in config/config.yaml

Citation

Please cite our paper in your publications if it helps your research:

@inproceedings{wei2023cmgnet,
  title={CMG-Net: An End-to-End Contact-Based Multi-Finger Dexterous Grasping Network}, 
  author={Mingze Wei and Yaomin Huang and Zhiyuan Xu and Ning Liu and Zhengping Che and Xinyu Zhang and Chaomin Shen and Feifei Feng and Chun Shan and Jian Tang},
  year={2023},
  booktitle={Proceedings of the 2023 IEEE International Conference on Robotics and Automation (ICRA)},
}

Dependencies

This project uses the following third-party code:

License

This project is licensed under this license.

cmg-net's People

Contributors

peterche1990 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.