Giter Site home page Giter Site logo

peternara / fashionrecommendationst-lstm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sagarverma/fashionrecommendationst-lstm

0.0 1.0 0.0 9 KB

Diversity in Fashion Recommendation Using Semantic Parsing

Home Page: https://sagarverma.github.io/others/icip18-fashion-diversity.pdf

Python 100.00%

fashionrecommendationst-lstm's Introduction

Code for the paper "Diversity in Fashion Recommendation Using Semantic Parsing" (ICIP 2018)

This repository contains the code for the research paper titled "Diversity in Fashion Recommendation Using Semantic Parsing" by Sagar Verma, Sukhad Anand, Chetan Arora, and Atul Rai.

Requirements

The code has been test on:

  • Nvidia P5000 GPU
  • Ubuntu 16.04 LTS
  • Pytorch v0.4.0
  • Opencv 3.0

Model architecture

Dataset

  1. Fashion144k
  2. Fashion550k
  3. DeepFashion
  4. Modified labels

Description of files:

1 train.py : This file contains the code for training the model. 2 test.py : This file contains the code for testing the model on deep fashion dataset. 3 extract_features.py : This file contains the code for extracting features using the network from the images which can then be compared to get the testing accuracy.

Training:

  1. Create a numpy file containing the train ids of the images on which the model has to be trained.
  2. Create a numpy file containing the labels corresponding to trainids of the images used for training.
  3. Give the created numpy files as input to the training script to begin the training.
  4. Train the model until loss converges (40-50 epochs)

Testing (to reproduce the results as in the research paper):

For each category (examples trousers etc)

  1. Extract features from images corresponding to all categories and store them in a dictionary
  2. Get top 100 candidates for each image using stylenet and euclidean distance as a measure.
  3. Use the euclidean distance as a measure to get the top-k accuracy from the extracted features.

Trained weights

Weigths

Publication

S. Verma, S. Anand, C. Arora, and A. Rai, "Diversity in Fashion Recommendation Using Semantic Parsing." International Conference on Image Processing (ICIP) (Oral) PDF

Citation

Please cite the following paper if you find this repository useful.

@article{Sagar2018fashion,
  author      = {Sagar Verma and
                 Sukhad Anand and
                 Chetan Arora and
                 Atul Rai},
  title       = {Diversity in Fashion Recommendation Using Semantic Parsing},
  booktitle   = {ICIP},
  year        = {2018}
}

Contact

For any queries, please contact

Sagar Verma: [email protected]

fashionrecommendationst-lstm's People

Contributors

sagarverma avatar sukhad-app avatar

Watchers

 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.