Coder Social home page Coder Social logo

ligang-cs / pedestriandetection-hgpd Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 3.0 4.22 MB

Officical codes for Learning Hierarhical Graph for Occluded Pedestrian Detection (ACM MM 20)

License: Apache License 2.0

Python 92.62% Dockerfile 0.03% C++ 2.66% Cuda 4.62% Shell 0.08%
acmmm2020 pedestrian-detection citypersons object-detection autonomous-driving

pedestriandetection-hgpd's Introduction

Learning Hierarchical Graph for Occluded Pedestrian Detection

This is the official implementation of our paper "Learning Hierarchical Graph for Occluded Pedestrian Detection", https://dl.acm.org/doi/abs/10.1145/3394171.3413983, published in ACM MM 2020.

To address the occlusion issue in pedestrian detection, we propose a novel Hierarchical Graph Pedestrian Detector (HGPD), which integrates semantic and spatial relation information to construct two graphs named intra-proposal graph and inter-proposal graph. With the intra-proposal graph, we can model precise occlusion patterns and effectively suppress noisy features; with the inter-proposal graph, the weak visual cues of occluded persons can be enriched. The graph structure is shown:

demo image

Get Started

Please refer to INSTALL.md for installation and dataset preparation.

Please see GETTING_STARTED.md for the basic usage of MMDetection.

Prepare

CityPersons data:

  • CityPersons is a popular benchmark for pedestrian detection. The dataset can be downloaded from here. The path of the dataset is set in configs/faster_rcnn_vgg16_1x.py. We also provide our annotation files in json format (code:kko8).

Train

CUDA_VISIBLE_DEVICES=gpu_id python tools/train.py configs/faster_rcnn_vgg16_citypersons.py --work_dir xxx

Some errors will happen when using distributed training, we will fix this bug later.

Test

CUDA_VISIBLE_DEVICES=gpu_id python tools/test.py configs/faster_rcnn_vgg16_citypersons.py path_to_your_model --eval box --out path_to_save_detection_results

Models

All models are trained and evaluated on CityPersons with the input scale of 1x. To show the occlusion handling of our method, we employ different subsets of training samples, which differ in the occlusion level.

Reasonable Heavy Occlusion Model
visibility ≥ 0% 11.51 41.34 code:kko8
visibility ≥ 30% 12.24 42.65 code:kko8
visibility ≥ 50% 11.53 45.91 code:kko8

Citation

If you find HGPD useful in your research, please consider citing:

@inproceedings{li2020learning,
  title={Learning Hierarchical Graph for Occluded Pedestrian Detection},
  author={Li, Gang and Li, Jian and Zhang, Shanshan and Yang, Jian},
  booktitle={Proceedings of the 28th ACM International Conference on Multimedia},
  pages={1597--1605},
  year={2020}
}

Contacts

If you have any questions, please do not hesitate to contact gang li (李钢), [email protected]

pedestriandetection-hgpd's People

Contributors

ligang-cs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pedestriandetection-hgpd's Issues

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.