We propose UniPointNet which can detect keypoints for arbitrary objects. UniPointNet is designed for object keypoint detection in HOI detection. We employ the self-supervised keypoints learning framework of AutoLink. While AutoLink was proposed to learn keypoints for single object classes, our goal is to detect keypoints across all classes present in the HOI task. To this end, we make two key changes to AutoLink. First, we feed object segmentation masks into the network instead of RGB images. This eliminates the appearance variations across different object classes, simplifying their appearance distribution. As a result, the network can focus on learning object shapes and structures. Second, instead of using an individual edge graph with shared graph weight to align all samples, we opt for a set of edge graphs with different graph weights, aligning samples within their respective clusters. This design accommodates object masks with significant variations, thus allowing the network to detect keypoints across a diverse range of object categories.
conda create -n unipointnet python=3.8
conda activate unipointnet
pip install -r requirements.txt
We use object masks from the COCO dataset to train this framework. You can download our processed object masks from COCO_masks.
The pre-trained models can be downloaded from Google Drive.
To qualitatively test the model, you can run
python test.py
To train our model on COCO_masks, run
python train.py --n_parts 16 --missing 0.9 --block 16 --thick 2.5e-3 --sklr 512
If you find this work useful, please consider our paper to cite:
@article{zhu24geometric,
author={Zhu, Manli and Ho, Edmond S. L. and Chen, Shuang and Yang, Longzhi and Shum, Hubert P. H.},
journal={IEEE Transactions on Instrumentation and Measurement},
title={Geometric Features Enhanced Human-Object Interaction Detection},
year={2024},
doi={10.1109/TIM.2024.3427800},
publisher={IEEE},
}
We would like to express our gratitude to the open-source project AutoLink and its contributors since our framework is heavily built on it.