Serving as a model-agnostic plug-in, UFPA significantly improves the performance of a variety of state-of-the-art human pose estimation models!
- accepted by Neurocomputing in 2022
This is an official pytorch implementation of Unbiased Feature Position Alignment for Human Pose Estimation. In this work, we are interested in feature position alignment during multi-feature fusion. Our baseline is DARK pose.
We illustrate the different feature position misalignments induced by two interpolation strategies. Their difference focus on the implementation of inpterplation during upsampling.
This gif dynamically visualize how the feature position misalignment generates when using corner-aligned interpolation.
This gif dynamically visualize how the feature position misalignment generates when using corner-unaligned interpolation.
This gif dynamically visualize how the proposed unbiased feature position alignment works to solve the misalignment problem when using corner-aligned interpolation.
This gif dynamically visualize how the proposed unbiased feature position alignment works to solve the misalignment problem when using corner-unaligned interpolation.
- Install Pytorch and other dependencies
pip install -r requirements.txt
- Make libs
cd ${POSE_ROOT}/lib
make
- Install COCOAPI
# COCOAPI=/path/to/clone/cocoapi
git clone https://github.com/cocodataset/cocoapi.git $COCOAPI
cd $COCOAPI/PythonAPI
# Install into global site-packages
make install
# Alternatively, if you do not have permissions or prefer
# not to install the COCO API into global site-packages
python3 setup.py install --user
- Create outpu and log folder
mkdir output
mkdir log
python tools/train.py \
--cfg experiments/coco/hrnet/w32_128x96_adam_lr1e-3.yaml \