yd8534976 / FashionAI-TF

A tensorflow implementation of FashionAI Global Challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FashionAI Global Challenge: Key points Detection of Apparel

FashionAI

Image data

Download Image data

Folder Structure

  • nets: store modified ResNet
  • model: store checkpoint files
  • outputs : store predicted files
  • summary: store files for tensorboard
  • train_set: place training data here
  • test_set: place test data here
  • fashion_evaluator.py: evaluator script
  • fashion_generator.py: data generator
  • fashion_helper.py: store a bunch of helper functions
  • fashion_stacked.py: main file to define model
  • train_script.py: train script
  • test_script.py: test script

Prerequisites

Docker is recommended:

  • nvidia-docker
  • pull image from Docker Hub
    docker pull yd8534976/tf-aiden

Alternatively:

  • python
  • tensorflow-gpu (>= 1.4)
  • numpy
  • pandas
  • opencv-python
  • jupyter (optional)
  • tensorboard (optional)

Pre-trained ResNet50 model

  • You can download pre-trained models from tensorflow offical slim model zoo.
  • Put checkpoint files into model/

Basic use

  • Download datasets and put them into train_set/
  • Download pre-trained ResNet-50 from slim model zoo
  • Configure train_script.py
  • Train end-to-end
    python train_script.py
  • Visualize your training using TensorBoard
    tensorboard --logdir=summary/
  • Generate predicted files
    python test_script.py
  • Visualize your prediction using demo_notes.ipynb
  • Evaluate your predictions
    python fashion_evaluator.py

Demo

  • blouse demo1
  • skirt demo2
  • outwear demo3
  • dress demo4
  • trousers demo5

About

A tensorflow implementation of FashionAI Global Challenge

License:MIT License


Languages

Language:Jupyter Notebook 67.1%Language:Python 32.9%