Skip to content

We deal with the problem of zero-shot cross-modal image retrieval involving color and sketch images through a novel deep representation learning technique.

Notifications You must be signed in to change notification settings

ushasi/A-Simplified-framework-for-Zero-shot-Cross-Modal-Sketch-Data-Retrieval

Repository files navigation

A-Simplified-framework-for-Zero-shot-Cross-Modal-Sketch-Data-Retrieval

Paper | TensorFlow | PPT

We deal with the problem of zero-shot cross-modal image retrieval involving color and sketch images through a novel deep representation learning technique. The problem of asketch to image retrieval and vice-versa is of practical importance, and a trained model in this respect is expected to generalize beyond the training classes, e.g., the zero-shot learning scenario. Nonetheless, considering the drastic distributions-gap between both the modalities, a feature alignment is necessary to learn a shared feature space where retrieval can efficiently be carried out. Additionally,it should also be guaranteed that the shared space is semantically meaningful to aid in the zero-shot retrieval task.The very few existing techniques for zero-shot sketch-RGB image retrieval extend the deep generative models for learning the embedding space; however, training a typical GAN-like model for multi-modal image data may be non-trivialat times. To this end, we propose a multi-stream encoder-decoder model that simultaneously ensures improved mapping between the RGB and sketch image spaces and high discrimination in the shared semantics-driven encoded feature space. Further, it is guaranteed that the class topology of the original semantic space is preserved in the encoded feature space, which subsequently reduces the model bias towards the training classes. Experimental results obtained on the benchmark Sketchy and TU-Berlin datasets establish the efficacy of our model as we outperform the existing state-of-the-art techniques by a considerable margin.

Pipeline of the overall network

To implement the code:

  1. If needed change the path of snapshots and summary folders by changing the ‘path’ variable in Unified_XY_triads.py
  2. For pretraining the X and Y modalities, get the code from the pre-training git repository and load this .mat file in the UxUyLoader.py file.
  3. While in the master folder, run the Unified_XY_triads.py file (for terminal based, type ‘python Unified_XY_triads.py’ in terminal)

Pipeline of the overall network

  • To perform the zero-shot retrieval, run the KNNcode.m MATLAB file. It also provides the retrieved precision, recall and mAP values.
  • Paper

    @InProceedings{Chaudhuri_2020_CVPR_Workshops,
    author = {Chaudhuri, Ushasi and Banerjee, Biplab and Bhattacharya, Avik and Datcu, Mihai},
    title = {A Simplified Framework for Zero-Shot Cross-Modal Sketch Data Retrieval},
    booktitle = {The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
    month = {June},
    year = {2020}
    } 
    
    
    

    About

    We deal with the problem of zero-shot cross-modal image retrieval involving color and sketch images through a novel deep representation learning technique.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published