Coder Social home page Coder Social logo

chinusaraf / rpnplus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from huangshiyu13/rpnplus

0.0 0.0 0.0 1.35 MB

RPN+(Tensorflow) for people detection

Home Page: http://ml.cs.tsinghua.edu.cn:5000/publications/synunity/

License: MIT License

Python 100.00%

rpnplus's Introduction

RPNplus

Code accompanying the paper "Expecting the Unexpected: Training Detectors for Unusual Pedestrians with Adversarial Imposters(CVPR2017)". As for the generator for synthetic data, please take this repo for reference.

Requirement

  • ubuntu or Mac OS
  • tensorflow==1.1+(with GPU)
  • pip install image
  • pip install sklearn
  • pip install scipy
  • image_pylib(This repository should be put under the same folder with RPNplus.)

Usage

Run Demo:

  • Download model files(RPN_model & VGG16_model) first, and put them in the ./models/ folder.
  • The number 0 is your GPU index, and you can change to any available GPU index.
  • This demo will test the images in the ./images/ folder and output the results to ./results/ folder.
python demo.py 0

ATOCAR Logo

Train:

  • The number 0 is your GPU index, and you can change to any available GPU index.
  • Open train.py and set imageLoadDir and anoLoadDir to proper values(imageLoadDir means where you store your images and anoLoadDir means where you store your annotation files).
python train.py 0

Dataset Download

Related Datasets

Cite

Please cite our paper if you use this code or our datasets in your own work:

@InProceedings{Huang_2017_CVPR,
author = {Huang, Shiyu and Ramanan, Deva},
title = {Expecting the Unexpected: Training Detectors for Unusual Pedestrians With Adversarial Imposters},
booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {July},
year = {2017}
}

Acknowledgement

Author

Shiyu Huang([email protected])

rpnplus's People

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.