Skip to content
/ HSGMP Public

Code for ICMR2021 "HSGMP: Heterogeneous Scene Graph Message Passing for cross-modal retrieval"

Notifications You must be signed in to change notification settings

FDUDSDE/HSGMP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hsgmp

Since the data is too large, we do not provide the data, including visual & textual scene graph, please generate the data by yourself using the code in data generation.

Requirement

python>=3.6
pytorch
git submodule update --init --recursive

Install parser enviroment

pip install spacy
python -m spacy download en

Install faster R-CNN

follow the repo's instruction to install Faster R-CNN

git clone https://github.com/shilrley6/Faster-R-CNN-with-model-pretrained-on-Visual-Genome.git
cd lib
python setup.py build develop

download pre-trained model

data generation

The code of visual scene graph generation is from Unbiased Scene Graph Generation from Biased Training

The code of textual scene graph generation is from SceneGraphParser

The code of image feature extraction is from Faster-R-CNN-with-model-pretrained-on-Visual-Genome

About

Code for ICMR2021 "HSGMP: Heterogeneous Scene Graph Message Passing for cross-modal retrieval"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages