Skip to content

Attention-based Progressive Partition Network for Human Parsing

Notifications You must be signed in to change notification settings

huangxi6/APPNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APPNet

Attention-based Progressive Partition Network for Human Parsing

This is an efficient implementation of APPNet.

Download

Plesae download LIP dataset.

The trained models can be found at google drive.

Environments

  • Python 3.5

  • PyTorch 0.4.1

  • cffi

  • matplotlib

  • numpy

  • opencv-python

  • scipy

  • tqdm

  • You need to use InPlace-ABN with CUDA implementation, which must be compiled with the following commands:

cd libs
sh build.sh
python build.py
  • The model is trained on NVIDIA TITAN 1080 Ti GPU.

Training

  • Please set the dataset dir in file 'run.sh'. The contents of each dataset include:

    ─ train_images

    ─ train_segmentations

    ─ val_images

    ─ val_segmentations

    ─ train_id.txt

    ─ val_id.txt

  • Please put the pretrained resnet101-imagenet.pth in './dataset/'.

  • Run the sh run.sh.

Evaluation

If you want to evaluate the trained models on LIP, you can run the sh run_evaluate.sh.

About

Attention-based Progressive Partition Network for Human Parsing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published