Code Monkey home page Code Monkey logo

dcmm's Introduction

Differentiable Cross Modal Model (DCMM)

This repository contains the code implementing the model introduced in Learning to Rank Images with Cross-Modal Graph Convolutions, ECIR'20, by Thibault Formal, Stéphane Clinchant, Jean-Michel Renders, Sooyeol Lee and Geun Hee Cho.

In this paper, we proposed a reformulation of unsupervised cross-modal pseudo relevance feedback mechanisms for image search, as a differentiable architecture relying on graph convolutions. Indeed, we can see the problem as a supervised representation learning task on graphs, and design graph convolutions operating jointly over text and image features (namely cross-modal graph convolutions). The proposed architecture directly learns how to combine image and text features for the ranking task, while taking into account the context given by all the other elements in the set of images to be (re-)ranked.

Requirements

The code builds on PyTorch Geometric, a library designed to train graph neural networks.

Minimal requirements:

  • torch==1.5.1
  • torch-geometric==1.5.0
  • pandas==1.0.2
  • tensorboard==2.2.2
  • pytrec-eval==0.4
  • tabulate==0.8.7

To get started

First, we recommend having a look at the PyTorch geometric library. Second, we provide a small dataset of preprocessed data from a Mediaval'17 challenge. Please have a look at the README in the exp folder to download the data and start training your own models !

Copyright 2020-present NAVER Corp.
CC BY-NC 4.0

dcmm's People

Contributors

sclincha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.