Skip to content

The source code of our paper: LGR-NET: Langauge Guided Reasoning Network

Notifications You must be signed in to change notification settings

lmc8133/LGR-NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LGR-NET

The source code of our paper: LGR-NET: Language Guided Reasoning Network for Referring Expression Comprehension (under review)

Installation

1. Prepare the environment

python==3.7.13
torch==1.11.0+cu113
torchvision==0.12.0+cu113
mmcv-full==1.3.18
mmdet==2.11.0
tensorboard==2.8.0
transformers==2.11.0
einops==0.4.1
icecream==2.1.2
numpy==1.22.3
scipy==1.8.0
ftfy==6.1.1

We recommand to install mmdet from the source code in this repository (./models/swin_model)

2. Dataset preparation

We follow the data preparation of TransVG, which can be found in GETTING_STARTED.md

3. Checkpoint preparation

We use the checkpoints from QRNet, they put the checkpoints in Google Drive. You should mkdir checkpoints/ and put the downloaded checkpoints in it.

Training

bash train.sh

Evaluation

bash test.sh

Acknowledge

This code is partially based on TransVG and QRNet

About

The source code of our paper: LGR-NET: Langauge Guided Reasoning Network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published