Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.37 KB

DATA_PREPARATION.md

File metadata and controls

47 lines (38 loc) · 1.37 KB

Data Preparation

  1. DeepFashion - Category and Attribute Prediction Benchmark

  2. DeepFashion - In-Shop Clothes Retrieval Benchmark

  3. DeepFashion - Fashion Landmark Detection Benchmark

To use the DeepFashion dataset you need to first download it to 'data/' , then follow these steps to re-organize the dataset.

cd data/
mv Category\ and\ Attribute\ Prediction\ Benchmark Attr_Predict
mv In-shop\ Clothes\ Retrieval\ Benchmark In-shop
mv Fashion\ Landmark\ Detection\ Benchmark/ Landmark_Detect
python prepare_attr_pred.py
python prepare_in_shop.py
python prepare_landmark_detect.py

The directory should be like this:

mmfashion
├── mmfashion
├── tools
├── configs
├── data
│   ├── Attr_Predict
│   |   ├──train.txt
|   |   ├──test.txt
│   |   |──val.txt
│   |   |──train_attr.txt
│   |   ├── ...
│   │   ├── Img
│   |   │   ├──img
│   │   ├── Eval
│   |   │   ├── ...
│   ├── In-shop
│   |   ├──train.txt
|   |   ├──query.txt
│   |   ├──gallery.txt
│   |   ├──train_labels.txt
│   |   │   ├── ...