This code is adapted from --> https://github.com/PeikeLi/Self-Correction-Human-Parsing
git clone https://github.com/mayankgrwl97/human-part-segmentation.git
cd human-part-segmentation
pip install .
Install ninja to load C++ dependencies in torch
sudo apt-get install ninja-build