iCVTEAM / TDRG

Transformer-based Dual Relation Graph for Multi-label Image Recognition. ICCV 2021
https://arxiv.org/pdf/2110.04722.pdf
Apache License 2.0
48 stars 14 forks source link
gcn multi-label-image-classification transformer

TDRG

Pytorch implementation of Transformer-based Dual Relation Graph for Multi-label Image Recognition. ICCV 2021

TDRG

Prerequisites

Python 3.6+

Pytorch 1.6

CUDA 10.1

Tesla V100 × 2

Datasets

Model

Train

CUDA_VISIBLE_DEVICES=0,1 python main.py  --data COCO2014 --data_root_dir $DATA_PATH$ --save_dir $SAVE_PATH$ --i 448  --lr 0.03 -b 64

Test

python main.py  --data COCO2014 --data_root_dir $DATA_PATH$ --save_dir $SAVE_PATH$ --i 448  --lr 0.03 -b 64 -e --resume checkpoint/COCO2014/checkpoint_COCO.pth

Visualization

vis

Citation

@InProceedings{Zhao2021TDRG,
    author    = {Zhao, Jiawei and Yan, Ke and Zhao, Yifan and Guo, Xiaowei and Huang, Feiyue and Li, Jia},
    title     = {Transformer-Based Dual Relation Graph for Multi-Label Image Recognition},
    booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
    month     = {October},
    year      = {2021},
    pages     = {163-172}
}