mengqiDyangge / ReIR-WeaklyGrounding.pytorch

The official PyTorch code for "Relation-aware Instance Refinement for Weakly Supervised Visual Grounding" accepted by CVPR2021

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Relation-aware instance refinement for weakly supervised visual grounding

1. build detectron2 by following the official instrucment

2. training for flickr30k entities

sh scripts/train.sh ## change the MODEL.VG.NETWORK 'RegRel' into "Baseline", 'Baseline_s2', 'Reg' to get the ablation study results

3. training for KAC models

sh scripts/train_kac.sh ## get the final results

4. data preparation

We will release the processed dataset later.

About

The official PyTorch code for "Relation-aware Instance Refinement for Weakly Supervised Visual Grounding" accepted by CVPR2021


Languages

Language:Python 89.7%Language:Cuda 6.1%Language:C++ 2.8%Language:Shell 0.8%Language:C 0.6%