Home

Awesome

Partitioned Saliency Ranking with Dense Pyramid Transformers. ACM MM, 2023. Arxiv

New_Arc PSR

Requirements

Environment

The code is tested on CUDA 11.1 and pytorch 1.9.0, change the versions below to your desired ones. First install AdelaiDet and Detectron2 following the offical guide: AdelaiDet

Then build PSR with:

cd PSR
python setup.py build develop

Dataset

Download the datasets from the following links from original authors

Usage

Download

Pre-trained model weights are come from AdelaiDet:

ModelConfigDownload
R50configmodel
R101configmodel

These are the weights trained on ASSR dataset:

Train

python train_psr.py --config-file configs/R50_3x.yaml

Inference

python train_psr.py --config-file configs/R50_3x.yaml \
    --eval-only MODEL.WEIGHTS {PATH_TO_PRE_TRAINED_WEIGHTS}

Please replace {PATH_TO_PRE_TRAINED_WEIGHTS} to the pre-trained weights

Citation

@inproceedings{mm2023psr,
  title={Partitioned Saliency Ranking with Dense Pyramid Transformers},
  author={Sun, Chengxiao and Xu, Yan and Jialun, Pei and Fang, Haopeng and Tang, He},
  booktitle={Proceedings of the 31st ACM International Conference on Multimedia (MM '23), October 29-November 3, 2023, Ottawa, ON, Canada,
  year={2023}
}