Skip to content

Stacked Cross Attention for Image-Text Matching

Notifications You must be signed in to change notification settings

MysteryVaibhav/SCAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCAN : Stacked Cross Attention for Image-Text Matching

This is an implementation for the paper: https://arxiv.org/abs/1803.08024.

master branch: t2i model as described in the paper. i2t branch: i2t model as described in the paper.

To train the model

python main.py --mode 0

To load and test the best model

python main.py --mode 1

Note: Look up main.py for passing additional arguments while training.

Results on fast branch which is a faster version of master and is a t2i model:

r@1 (t2i) r@5 (t2i) r@10 (t2i) r@1 (i2t) r@5 (i2t) r@10 (i2t)
0.48314 0.7674 0.824 0.624 0.878 0.929

About

Stacked Cross Attention for Image-Text Matching

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages