Giter Site home page Giter Site logo

peternara / fashion_compatibility_mcn-conditional-similarity-networks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wangxin93/fashion_compatibility_mcn

0.0 1.0 0.0 5.94 MB

Outfit Compatibility Prediction and Diagnosis with Multi-Layered Comparison Network

License: MIT License

Python 5.86% Jupyter Notebook 94.14%

fashion_compatibility_mcn-conditional-similarity-networks's Introduction

Outfit Compatibility Prediction and Diagnosis with Multi-Layered Comparison Network

diagnosis

Implementation of the method proposed in the paper:

Outfit Compatibility Prediction and Diagnosis with Multi-Layered Comparison Network

by Xin Wang, Bo Wu, Yueqi Zhong Published at ACM MM 2019 in Nice, France.

Contents of this repository

  • mcn: Main program source code
  • data: Polyvore-T datasets based on Polyvore.
  • baselines: Compared baselines in our experiment
  • exp: Experiment details, scripts and results etc.

Requirements

Ubuntu 16.04, NVIDIA GTX 1080Ti (for batch size 16), python >= 3.5.2

torch>=0.4.1
torchvision
networkx

Usage

  1. Download the original Polyvore dataset, then unzip the file and put the image directory into data folders (or you can create a soft link for it).

  2. Train

    cd mcn
    python train.py
  3. Evaluate

    python evaluate.py
    
  4. Visualize outfit diagnosis

    cd exp
    python diagnosis.py
    
  5. Automatically revise outfit

    python revision.py
    

Prediction Performance

Pretrained model weights can be found in the links. The train, validation and test split is provided in data.

AUC FITB
Pooling 88.35 57.28
Concatenation 83.40 52.91
Self-attention 79.65 48.60
BiLSTM 74.82 46.02
CSN 84.90 57.06
Ours 91.90 64.35

Cite

Please cite our paper if you use this code in your own work:

@inproceedings{wang2019diagnosis,
  title={Outfit Compatibility Prediction and Diagnosis with Multi-Layered Comparison Network},
  author={Xin Wang, Bo Wu and Yueqi Zhong},
  booktitle={ACM International Conference on Multimedia},
  year={2019}
}

fashion_compatibility_mcn-conditional-similarity-networks's People

Contributors

wangxin93 avatar

Watchers

James Cloos 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.