Giter VIP home page Giter VIP logo

clothing_segmentation's Introduction

clothing-segmentation

Practicing how to fine-tune NN models designed for image segmentation tasks, beware lots of comments in code (trying to learn!).

Getting Started

Follow these steps to run this project on your local machine:

  1. Clone this repository:

    git clone https://github.com/your-username/clothing-segmentation.git
    cd clothing-segmentation
    
  2. Download the Clothing-Co-Parsing dataset from bearpaw's repository.

  3. Set up the directory structure:

    mkdir -p data/annotations data/input_images/images
    
  4. Add the annotations from the dataset:

    • Place the image-level folder in data/annotations/
    • Place the pixel-level folder in data/annotations/
  5. Add the images from the dataset:

    • Place all the images in data/input_images/images
  6. Run the pre-processing script:

    python -m scripts.pre_processing
    

    This will create masks in data/input_images/masks/ and distribute images into train and validation dataset folders.

  7. Start the training process:

    python -m scripts.train
    

Requirements

Before installing the dependencies, it's recommended to create a virtual environment:

  1. Create a virtual environment:

    python -m venv venv
    
  2. Activate the virtual environment.

  3. Install the required dependencies using the requirements.txt file:

    pip install -r requirements.txt
    

Results

alt text

alt text

Citations

Dataset from: https://github.com/bearpaw/clothing-co-parsing

@inproceedings{yang2014clothing,
  title={Clothing Co-Parsing by Joint Image Segmentation and Labeling},
  author={Yang, Wei and Luo, Ping and Lin, Liang}
  booktitle={Computer Vision and Pattern Recognition (CVPR), 2014 IEEE Conference on},
  year={2013},
  organization={IEEE}
}

References code from: https://github.com/IzPerfect/Clothing-Segmentation/tree/master

clothing_segmentation's People

Contributors

supaxinc avatar

Watchers

Kostas Georgiou 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.