Skip to content

haowang1992/PCMSN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Progressive Cross-Modal Semantic Network for Zero-Shot Sketch-Based Image Retrieval(TIP2020)

This project is our implementation of Progressive Cross-Modal Semantic Network for Zero-Shot Sketch-Based Image Retrieval [paper]

framework

If you find this project helpful, please consider to cite our paper:

@article{deng2020progressive,
  title={Progressive cross-modal semantic network for zero-shot sketch-based image retrieval},
  author={Deng, Cheng and Xu, Xinxun and Wang, Hao and Yang, Muli and Tao, Dacheng},
  journal={IEEE Transactions on Image Processing},
  volume={29},
  pages={8892--8902},
  year={2020},
  publisher={IEEE}
}

Dataset

We use Sketchy and TU-Berlin datasets for zero-shot SBIR, following the same zero-shot data partitioning in SEMPCYC

You can download the datasets from here(passwd:xdXx). Then unzip it and put the contents in ./ZS-SBIR of this project.

Models

The model files can be downloaded from here(passwd:qc22). Then unzip and put it in ./model.

Training

TIP model with 64-d features in default setting

# train with Sketchy Ext dataset
python ys_tip.py --dataset Sketchy

# train with TU-Berlin Ext dataset
python ys_tip.py --dataset TU-Berlin

Testing

TIP model with 64-d features in default setting

# test with Sketchy Ext dataset
python ys_tip.py --dataset Sketchy --test

# test with TU-Berlin Ext dataset
python ys_tip.py --dataset TU-Berlin --test

Pre-trained Models

Our trained models for Skethy Ext and TU-Berlin Ext with 64-d features in default setting can be downloaded from here(passwd:lo8p). Please put the contents in ./checkpoint/.

For example, the path of pre-trained model for Sketchy Ext in default experimental setting should be:

./checkpoint/tip_Sketchy_extended_None_hieremb-jcn+word2vec-google-news_c2f_False_64/model_best.pth

About

Pytorch Implementation of PCMSN (TIP2020)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages