8000 GitHub - Kuangdd01/MPL: Source code of our AAAI 2025 paper "Momentum Pseudo-Labeling for Weakly Supervised Phrase Grounding"
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ MPL Public

Source code of our AAAI 2025 paper "Momentum Pseudo-Labeling for Weakly Supervised Phrase Grounding"

Notifications You must be signed in to change notification settings

Kuangdd01/MPL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Momentum Pseudo-Labeling for Weakly Supervised Phrase Grounding

Implementation of MPL: Momentum Pseudo-Labeling for Weak 663C ly Supervised Phrase Grounding.

[ Paper | Appendix ]

Some of our code is based on MAF & CLEM & volta. Thanks to their excellent works!!

Prepare

The all image features are extracted by a Faster R-CNN pre-trained on the Visual Genome with a ResNet-101.

  1. For the Flickr image features, we adopted the extracted features from MAF.
  2. For the RefCOCO/RefCOCO+/RefCOCOg image features, we recommend to follow volta instructions to obtain corresponding image features.

Install

conda create -n <your_env> python==3.9
conda activate <your_env>
pip install -r requirements.txt

QuickStart

# put corresponding data following:
mat_root
├── test_detection_dict.json
├── test_features_compress.hdf5
├── test_imgid2idx.pkl
├── train_detection_dict.json
├── train_features_compress.hdf5
├── train_imgid2idx.pkl
├── val_detection_dict.json
├── val_features_compress.hdf5
└── val_imgid2idx.pkl

dataroot
├── Annotations
├── Sentences
├── annotations.zip
├── cache
├── test.txt
├── train.txt
└── val.txt

referoot
├── images
├── refcoco
├── refcoco+
├── refcocog
└── refer

features_path
├── refcoco
├── refcoco+
├── refcocog
├── uniter.bin
├── vilbert.bin
└── visualbert.bin

bash run.sh

About

Source code of our AAAI 2025 paper "Momentum Pseudo-Labeling for Weakly Supervised Phrase Grounding"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0