# trt_pose **Repository Path**: ralf-git/trt_pose ## Basic Information - **Project Name**: trt_pose - **Description**: Real-time pose estimation accelerated with NVIDIA TensorRT - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-21 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TensorRT Pose Estimation This project features multi-instance pose estimation accelerated by NVIDIA TensorRT. It is ideal for applications where low latency is necessary. It includes - Training scripts to train on any keypoint task data in MSCOCO format - A collection of models that may be easily optimized with TensorRT using [torch2trt](https://github.com/NVIDIA-AI-IOT/torch2trt) This project can be used easily for the task of human pose estimation, or extended for something new. If you run into any issues please [let us know](../../issues). ## Tasks ### Human pose estimation This task involves detecting human body pose using models trained on the MSCOCO dataset. #### Models Below are models pre-trained on the MSCOCO dataset. The throughput in FPS is shown for each platform | Model | Jetson Nano | Jetson Xavier | Weights | |-------|-------------|---------------|---------| | resnet18_baseline_att_224x224_A | 22 | 251 | [download (81MB)](https://drive.google.com/open?id=1XYDdCUdiF2xxx4rznmLb62SdOUZuoNbd) | | densenet121_baseline_att_256x256_B | 12 | 101 | [download (84MB)](https://drive.google.com/open?id=13FkJkx7evQ1WwP54UmdiDXWyFMY1OxDU) | #### Live demo To run the live Jupyter Notebook demo on real-time camera input, follow these steps 1. Place the downloaded weights in the [tasks/human_pose](tasks/human_pose) directory 2. Open and follow the [live_demo.ipynb](tasks/human_pose/live_demo.ipynb) notebook > You may need to modify the notebook, depending on which model you use ## Setup To install trt_pose, call this command > We assume you have already installed PyTorch, torchvision, and TensorRT ```bash sudo pip3 install tqdm cython pycocotools sudo apt-get install python3-matplotlib git clone https://github.com/NVIDIA-AI-IOT/trt_pose cd trt_pose sudo python3 setup.py install ``` ## See also - [torch2trt](http://github.com/NVIDIA-AI-IOT/torch2trt) - An easy to use PyTorch to TensorRT converter - [JetBot](http://github.com/NVIDIA-AI-IOT/jetbot) - An educational AI robot based on NVIDIA Jetson Nano - [JetRacer](http://github.com/NVIDIA-AI-IOT/jetracer) - An educational AI racecar using NVIDIA Jetson Nano - [JetCam](http://github.com/NVIDIA-AI-IOT/jetcam) - An easy to use Python camera interface for NVIDIA Jetson ## References Cao, Zhe, et al. "Realtime multi-person 2d pose estimation using part affinity fields." Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2017. Xiao, Bin, Haiping Wu, and Yichen Wei. "Simple baselines for human pose estimation and tracking." Proceedings of the European Conference on Computer Vision (ECCV). 2018.