Saltar al contenido
ModelPublicadoExterno
Browse files

ComfyUI Human Parser Models ATR LIP Pascal

As always : More safe for everyone to share around and keep updated if any major changes then the google drive. human-parser-comfyui-node-in-pure-python This custom node doesn't require a runtime build for...

TipoOtherVersiónRevision 29f42fdUnratedcalidad

Fuente del modelo

Tipo
Other
Tamaño del archivo
255 MB
Versión
vRevision 29f42fd
Actualizado
3 nov 2026
Descargas
0
Fuente
Hugging Face

Descripción de la fuente

As always : More safe for everyone to share around and keep updated if any major changes then the google drive.

Copy from github fork:

Potential fix

  • for comfyUI node: "cant find schp"(model files in folder)
  • replace init.py from the pure python fork with the one in this repo here initfix
  • have not tested C++ version might have same fix

cloned README.md

Cozy Human Parser

Fast, VRAM-light ComfyUI nodes to generate masks for specific body parts and clothes or fashion items. Runs on CPU and CUDA. Made with 💚 by the CozyMantis squad.

OriginalATRLIPPascal

Installation

  • Clone this repository into your custom_nodes directory, then run pip install -r requirements.txt to install the required dependencies.
  • Copy the following models to the models/schp directory, depending on which parser you would like to use:

Check below for Windows troubleshooting.

Examples

LIP Parser

  • LIP is the largest single person human parsing dataset with 50000+ images. This dataset focuses on complicated real scenarios.
  • mIoU on LIP validation: 59.36 %
  • The LIP parser can detect the following categories:
['Background', 'Hat', 'Hair', 'Glove', 'Sunglasses' 'Upper-clothes', 'Dress', 'Coat', 'Socks', 'Pants', 'Jumpsuits', 'Scarf', 'Skirt', 'Face', 'Left-arm', 'Right-arm', 'Left-leg', 'Right-leg', 'Left-shoe', 'Right-shoe']

assets/lipexample.png

ATR Parser

  • ATR is a large single person human parsing dataset with 17000+ images. This dataset focuses on fashion AI.
  • mIoU on ATR test: 82.29%
  • The ATR parser can detect the following categories:
['Background', 'Hat', 'Hair', 'Sunglasses', 'Upper-clothes', 'Skirt', 'Pants', 'Dress', 'Belt', 'Left-shoe', 'Right-shoe', 'Face', 'Left-leg', 'Right-leg', 'Left-arm', 'Right-arm', 'Bag', 'Scarf']

assets/atrexample.png

Pascal Parser

  • Pascal Person Part is a tiny single person human parsing dataset with 3000+ images. This dataset focuses on body parts segmentation.
  • mIoU on Pascal-Person-Part validation: 71.46 %
  • The Pascal parser can detect the following categories:
['Background', 'Head', 'Torso', 'Upper Arms', 'Lower Arms', 'Upper Legs', 'Lower Legs']

assets/pascalexample.png

Windows Troubleshooting

  • Ninja is required to load C++ extensions

Windows can't find the "ninja.exe" file. The file is probably getting downloaded/installed to something like X:\path\to\comfy\python_embeded\lib\site-packages\ninja\data\bin, but it's not properly getting added to the system path, so the OS can't invoke it.

The solution is to:

Windows can't locate the python311.lib library. You need to search for it on your system, then add the library's parent directory to the "LIB" environment variable.

Windows can't locate "cl.exe" which is the compiler/linker tool: https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options?view=msvc-170

You can start this tool only from a Visual Studio developer command prompt. You cannot start it from a system command prompt or from File Explorer. For more information, see Use the MSVC toolset from the command line.

First, make sure you've installed all of the things highlighted below:

image

Then, it looks like you'll need to start ComfyUI from the developer command prompt instead of the regular cmd. Here's docs on how to launch the dev command prompt: https://learn.microsoft.com/en-us/visualstudio/ide/reference/command-prompt-powershell?view=vs-2022

You'll want to run something similar to:

cd X:\path\to\comfy
python main.py
  • error: first parameter of allocation function must be of type "size_t"

Make sure you're running the "x64 Native Tools Command Prompt" instead of the x86 one. Type "x64" in the start menu to locate it.

image

Acknowledgements

-All the repo owners and maintainers Based on the excellent paper "Self-Correction for Human Parsing" by Li, Peike and Xu, Yunqiu and Wei, Yunchao and Yang, Yi, and their original code that we've updated to also run on CPUs.

@article{li2020self,
  title={Self-Correction for Human Parsing}, 
  author={Li, Peike and Xu, Yunqiu and Wei, Yunchao and Yang, Yi},
  journal={IEEE Transactions on Pattern Analysis and Machine Intelligence}, 
  year={2020},
  doi={10.1109/TPAMI.2020.3048039}}

Fuentes

1 fuente
Hugging FacePrincipalVersión 29f42fdd35e82bf9310d224673bdb1bd5e190bbe
huggingface.co/ApacheOne/ComfyUI-human-parser_models_ATR_LIP_Pascal/tree/29f42fdd35e82bf9310d224673bdb1bd5e190bbe

Verificado 2 oct

Download files

Artefactos del modelo

3 artefactos

exp-schp-201908261155-lip.pth

pth · 255 MB · SHA-256 24fa3254ceeb…da00 · Hugging Face

Download file

exp-schp-201908270938-pascal-person-part.pth

pth · 255 MB · SHA-256 3b03d343c39f…fa85 · Hugging Face

Download file

exp-schp-201908301523-atr.pth

pth · 255 MB · SHA-256 e9d7c91ce3b4…9a2a · Hugging Face

Download file

Extractos de fuentes

2 extractos

--- license: gpl-3.0 --- As always : More safe for everyone to share around and keep updated if any major changes then the google drive. # Copy from github fork: - [human-parser-comfyui-node-in-pure-python](https://github.com/Randy420Marsh/human-parser-comfyui-node-in-pure-python) - This custom node doesn't require a runtime build for InPlaceABNSync. - [original Github repo](https://github.com/cozymantis/human-parser-comfyui-node) - Needs C++ build tools for windows # Potential fix - for comfyUI node: "cant find schp"(model files in folder) - replace __init__.py from the pure python fork with the one in this repo here [initfix](https://huggingface.co/ApacheOne/ComfyUI-human-parser_models_ATR_LIP_Pascal/blob/main/filefixes/__init__.py) - have not tested C++ version might have same fix # cloned README.md # Cozy Human Parser Fast, VRAM-light ComfyUI nodes to generate masks for specific body parts and clothes or fashion items. Runs on CPU and CUDA. Made with 💚 by the [CozyMantis](https://cozymantis.gumroad.com/) squad. | Original | ATR | LIP | Pascal | | --------------------- | ------------------------ | ------------------------ | ------------------------ | | ![](assets/demo2.jpg) | ![](assets/demo2atr.png) | ![](assets/demo2lip.png) | ![](assets/demo2pascal.png) | | ![](assets/demo3.jpg) | ![](assets/demo3atr.png) | ![](assets/demo3lip.png) | ![](assets/demo3pascal.png) | ## Installation - Clone this repository into your custom_nodes directory, then run `pip install -r requirements.txt` to install the required dependencies. - Copy the following models to the `models/schp` directory, depending on which parser you would like to use: - Model based on the LIP dataset: [Google Drive](https://drive.google.com/file/d/1k4dllHpu0bdx38J7H28rVVLpU-kOHmnH/view?usp=sharing) - Model based on the ATR dataset: [Google Drive](https://drive.google.com/file/d/1ruJg4lqR_jgQPj-9K0PP-L2vJERYOxLP/view?usp=sharing) - Model based on the Pascal dataset: [Google Drive](https://drive.google.com/file/d/1E5YwNKW2VOEayK9mWCS3Kpsxf-3z04ZE/view?usp=sharing) Check below for [Windows troubleshooting](#windows-troubleshooting). ## Examples ### LIP Parser - LIP is the largest single person human parsing dataset with 50000+ images. This dataset focuses on complicated real scenarios. - mIoU on LIP validation: 59.36 % - The LIP parser can detect the following categories: ``` ['Backg...

Source context: 0 downloads · 0 likes · Repo ApacheOne/ComfyUI-human-parser_models_ATR_LIP_Pascal