Home

Awesome

<div align="center"><img src="assets/logo.png" width="900"></div>

PWC PWC PWC PWC PWC PWC PWC PWC

Welcome to SOLIDER! SOLIDER is a Semantic Controllable Self-Supervised Learning Framework to learn general human representations from massive unlabeled human images which can benefit downstream human-centric tasks to the maximum extent. Unlike the existing self-supervised learning methods, prior knowledge from human images is utilized in SOLIDER to build pseudo semantic labels and import more semantic information into the learned representation. Meanwhile, different downstream tasks always require different ratios of semantic information and appearance information, and a single learned representation cannot fit for all requirements. To solve this problem, SOLIDER introduces a conditional network with a semantic controller, which can fit different needs of downstream tasks. For more details, please refer to our paper Beyond Appearance: a Semantic Controllable Self-Supervised Learning Framework for Human-Centric Visual Tasks.

<div align="center"><img src="assets/framework.png" width="900"></div>

Updates

Installation

This codebase has been developed with python version 3.7, PyTorch version 1.7.1, CUDA 10.1 and torchvision 0.8.2.

Datasets

We use LUPerson as our training data, which consists of unlabeled human images. Download LUPerson from its offical link and unzip it.

Training

sh run_solider.sh
sh run_dino.sh
sh resume_solider.sh

Finetuning and Inference

There is a demo to run the trained SOLIDER model, which can be embedded into the inference or the downstream task finetuning.

python demo.py

Models

We use Swin-Transformer as our backbone, which shows great advantages on many CV tasks.

TaskDatasetSwin Tiny<br>(Link)Swin Small<br>(Link)Swin Base<br>(Link)
Person Re-identification (mAP/R1)<br>w/o re-rankingMarket150191.6/96.193.3/96.693.9/96.9
MSMT1767.4/85.976.9/90.877.1/90.7
Person Re-identification (mAP/R1)<br>with re-rankingMarket150195.3/96.695.4/96.495.6/96.7
MSMT1781.5/89.286.5/91.786.5/91.7
Attribute Recognition (mA)PETA_ZS74.3776.2176.43
RAP_ZS74.2375.9576.42
PA100K84.1486.2586.37
Person Search (mAP/R1)CUHK-SYSU94.9/95.795.5/95.894.9/95.5
PRW56.8/86.859.8/86.759.7/86.8
Pedestrian Detection (MR-2)CityPersons10.3/40.810.0/39.29.7/39.4
Human Parsing (mIOU)LIP57.5260.2160.50
Pose Estimation (AP/AR)COCO74.4/79.676.3/81.376.6/81.5

Traning codes on Downstream Tasks

Acknowledgement

Our implementation is mainly based on the following codebases. We gratefully thank the authors for their wonderful works.

Reference

If you use SOLIDER in your research, please cite our work by using the following BibTeX entry:

@inproceedings{chen2023beyond,
  title={Beyond Appearance: a Semantic Controllable Self-Supervised Learning Framework for Human-Centric Visual Tasks},
  author={Weihua Chen and Xianzhe Xu and Jian Jia and Hao Luo and Yaohua Wang and Fan Wang and Rong Jin and Xiuyu Sun},
  booktitle={The IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year={2023},
}