Giter VIP home page Giter VIP logo

poet's Introduction

POET: End-to-End Multi-Instance Pose Estimation with Transformers

This repository contains the official implementation of POET (POse Estimation Transformer) and is built on DETR.

We replace the full complex hand-crafted pose estimation pipeline with a Transformer, and outperform Associative Embedding with a ResNet-50, obtaining 54 mAP on COCO. POET is rather fast and excellent for real-time applications.

POET

For details see our article End-to-End Trainable Multi-Instance Pose Estimation with Transformers by Lucas Stoffl, Maxime Vidal and Alexander Mathis.

Usage

Inference

Download of POET model trained on COCO: POET-R50

An example of how to use it is given in the demo notebook which loads the pre-trained model, generate predictions and visualizese them: POET's demo notebook

Training

To train a POET model on a single node with 2 GPUs for 250 epochs run:

python -m torch.distributed.launch --nproc_per_node=2 --use_env  main.py --batch_size=6 --num_workers=16 --epochs=250 --coco_path=data/COCO --set_cost_kpts=4 --set_cost_ctrs=0.5 --set_cost_deltas=0.5 --set_cost_kpts_class=0.2 --kpts_loss_coef=4 --ctrs_loss_coef=0.5 --deltas_loss_coef=0.5 --kpts_class_loss_coef=0.2 --num_queries=50 --output_dir=experiments/ --lr=5e-5 --lr_backbone=5e-6

Reference

If you find this code useful, please cite:

End-to-End Trainable Multi-Instance Pose Estimation with Transformers by Lucas Stoffl, Maxime Vidal and Alexander Mathis.

@article{stoffl2021end,
  title={End-to-end trainable multi-instance pose estimation with transformers},
  author={Stoffl, Lucas and Vidal, Maxime and Mathis, Alexander},
  journal={arXiv preprint arXiv:2103.12115},
  year={2021}
}

License

POET is released under the Apache 2.0 license. Please see the LICENSE file for more information.

poet's People

Contributors

luczot avatar alexemg 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.