Git Product home page Git Product logo

garment_segmentation's Introduction

Garment Segmentation

Requirements

Note: please install nightly build gluoncv for less bugs

pip install gluoncv --pre --upgrade

Dataset

iMaterialist (Fashion) 2019 at FGVC6

  • Convert imaterialist to COCO style
python tools/convert_imaterialist_to_coco.py --data_root datasets/imaterialist
  • files structure
datasets
└─imaterialist
    ├── annotations
    │   ├── resize_rle_instances_val.json
    │   ├── rle_instances_train.json
    |   └── rle_instances_val.json
    ├── test
    ├── train
    ├── val
    ├── label_descriptions.json
    ├── sample_submission.csv
    └── train.csv

Training

Note: all using COCO pretrained models, only the categories less than 13 (main apparels) for segmentation.

python train_mask_rcnn.py --save-prefix train_logs/xxx/ --val-interval 1
python train_segmentation.py --model deeplabv3 --dataset imaterialist \
                            --model-zoo deeplab_resnet101_coco --aux \
                            --checkname res101 --epochs 30 --lr 0.001 --ngpus 1 \
                            --workers 2 --batch-size 2 --test-batch-size 2
python train_segmentation.py --model deeplabv3plus --dataset imaterialist \
                             --model-zoo deeplab_plus_xception_coco --aux \
                             --base-size 576 --crop-size 512 \
                             --checkname xception --epochs 30 --lr 0.001 --ngpus 1 \
                             --workers 1 --batch-size 1 --test-batch-size 1 

Reference

garment_segmentation's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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