Giter VIP home page Giter VIP logo

ipnet's Introduction

IPNet

This repository is an official implementation of the AAAI 2023 paper "Two Heads are Better than One: Image-Point Cloud Network for Depth-Based 3D Hand Pose Estimation".

Installation

Prerequisites

  • Python >= 3.8
  • PyTorch >= 1.10
  • CUDA (tested with cuda11.3)
  • Other dependencies described in requirements.txt
  • Install point operation
    pip install pointnet2_ops_lib/.
  • Install Manopth

Install MANO

  • Go to MANO website
  • Download Models and Code (the downloaded file should have the format mano_v*_*.zip).
  • unzip and copy the models/MANO_RIGHT.pkl into the MANO folder
  • Your folder structure should look like this:
code/
  MANO/
    MANO_RIGHT.pkl

Prepare Dataset

DexYCB

  • Download and decompress DexYCB
  • Modify the root_dir in config.py according to your setting.
  • Generate json file for data loading (dataloader/DEXYCB2COCO.py)
  • In order to speed up the training, you need to generate the hand mesh corresponding to each image according to the MANO annotation.
  • Your folder structure should look like this:
DexYCB/
  mesh/
    20200709-subject-01/
        20200709_153548/
            932122062010/
                mesh_000000.txt
                ...
    ...
  20200709-subject-01/
  20200813-subject-02/
  ...
            

NYU

  • Download and decompress NYU
  • Modify the root_dir in config.py according to your setting.

Train

DexYCB

python train_ho.py

NYU

python train.py

Remember to change the dataset name in config.py accordingly.

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.