GithubHelp home page GithubHelp logo

jane-one / fashionnet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jasonsey/fashionnet

0.0 0.0 0.0 265 KB

The code of the paper, FashionNet. Using Keras, on Jupyter

License: MIT License

Jupyter Notebook 100.00%

fashionnet's Introduction

FashionNet

the code of the paper, FashionNet. using keras, on jupyter

using the data set of the FashionNet's subset, in-shop_clothes_retrieval_benchmark

Project Structure

├── data                                      # all input and output data are saved here 
│   ├── input -> /data/DeepFashion/in-shop_clothes_retrieval_benchmark    # input data
│   └── output                                # output data
├── src                                       # source code
│   ├── DatasetPreprocessing.ipynb            # data set preprocessing code
│   └── FashionNet.ipynb                      # FashionNet code
└── README.md

Reproduction Statement

  1. Preprocessing code has been completed (In DatasetPreprocessing.ipynb).

  2. Data set reading code of model training has been completed (In FashionNet.ipynb).

  3. The code of model structure has been completed (In FashionNet.ipynb).

  4. The code for model predicting has not been completed.

FashionNet Introduction

FashionNet is used to predict landmarks, category, attribute in clothing images. And its network structure is as follows.

The network structure consists of three parts, blue, red, and green. And they use the same base model, the first 4 layers of VGG16 pretrained on imagenet data set.

Blue part

The blue part of FashionNet is used to predict the landmarks location and landmark visibility. It's exactly the same as the VGG16 backend network, except for the ouput layer

Red part

The red part of FashionNet is used to generate the global features of images. It's the same as the conv4 and first dense layer of VGG16.

Green part

The green part of FashionNet is used to generate the local features near landmarks of images.

  1. pool5_local: the same as ROI pooling. And the ROI is generated from imaages near landmarks

Concatenation of red and green part

We simply concatenate the green and red part for attribute, category and triplet prediction.

Q&A

How to download the FashionNet data set

You can download the dataset from All FashionNet Dataset

img

How to train FashionNet

Don't worry, I've commented on the code in detail. If you encounter any training problem, please feel free to contact me.

How to use FashionNet

Since time limited, the prediction code has not been implemented. Maybe I'll finish it later.

After all, if you want to predict the landmarks or category of the clothing images, just use the blue part. And if you want to predict the attribute or category of the clothing images, just use the red and green part.

fashionnet's People

Contributors

jasonsey 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.