Coder Social home page Coder Social logo

f18298335152h / awr-adaptive-weighting-regression Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elody-07/awr-adaptive-weighting-regression

0.0 1.0 0.0 44.14 MB

Code for paper <AWR: Adaptive Weighting Regression for 3D Hand Pose Estimation>. Accepted by AAAI 2020.

License: MIT License

Python 100.00%

awr-adaptive-weighting-regression's Introduction

AWR: Adaptive Weighting Regression for 3D Hand Pose Estimation

New: An update version of paper is here. We re-compute the params and FLOPs of each network structure, mainly on Hourglass and update the results accordingly.

This is the official repository for AAAI 2020 paper AWR: Adaptive Weighting Regression for 3D Hand Pose Estimation. by Weiting Huang*, Pengfei Ren*, Jingyu Wang, Qi Qi, Haifeng Sun (* denotes equal contribution)

Codes are implemented with Python 3.7.0 and Pytorch 1.4.0.

Introduction

We propose an adaptive weighting regression (AWR) method to leverage the advantages of both detection-based and regression-based method. Hand joint coordinates are estimated as discrete integration of all pixels in dense representation, guided by adaptive weight maps. This learnable aggregation process introduces both dense and joint supervision that allows end-to-end training and brings adaptability to weight maps, making network more accurate and robust.

Fig 1. Main idea of AWR.

Fig 2. Framework of AWR

Code Setup

We provide result on NYU dataset with Resnet18 (resnet_18_uvd.txt) and inferencing code.

  1. Download NYU dataset and put train and test directory in ./data/nyu. We also provide hand center trained using a separate 2DCNN.
  2. pip install -r requirements.txt
  3. Modify ./config.py according to your setting.
  4. Run code python test.py

New:

  • We update training and data augmentation code for reference.
  • We provide HourGlass network and a pretrained model on HourGlass-1stage. You can set load_model='./results/hourglass_1.pth' to run the code.

Citation

If you find our work useful in your research, please citing:

@inproceedings{awr,
  title={AWR: Adaptive Weighting Regression for 3D Hand Pose Estimation},
  author={Weiting Huang and Pengfei Ren and Jingyu Wang and Qi Qi and Haifeng Sun},
  booktitle={AAAI Conference on Artificial Intelligence (AAAI)},
  year={2020}
}

awr-adaptive-weighting-regression's People

Contributors

elody-07 avatar

Watchers

 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.