GithubHelp home page GithubHelp logo

hdjsjyl / multispectral-fcos Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 5.0 12.81 MB

Anchor-less Pedestrian Detection, on KAIST Multispectral Dataset.

Python 31.89% Makefile 0.01% Jupyter Notebook 65.50% C++ 0.48% C 0.38% MATLAB 1.55% Cuda 0.18%

multispectral-fcos's Introduction

Multispectral FCOS: Fully Convolutional One-Stage Object Detection

Abstract

This method is inspired by FCOS: Fully Convolutional One-Stage Object Detection, the implementation is derived from DetectionTeamUCAS.

1

Current Implementation

2

Results Obtained

3

Results Day

Results Night

My Development Environment

1、python3.5
2、cuda8.0
3、opencv(cv2)
4、tfplot
5、tensorflow >= 1.12
6、MATLAB / GNU Octave

Download Model

Pretrain weights

1、Please download resnet50_v1, resnet101_v1 pre-trained models on Imagenet, put it to data/pretrained_weights.

Trained weights

1、Please download kaist_model , and put it in output/trained_weights
2、The .tfrecord must placed in data/tfrecord
3、Download the results images and text files , and put it in output/test_results

Compile

cd $PATH_ROOT/libs/box_utils/cython_utils
python setup.py build_ext --inplace

cd $PATH_ROOT/libs/box_utils/nms
python setup.py build_ext --inplace

Train

1、Train

Make sure pretrained models and tfrecord are in repsective directories

cd $PATH_ROOT/tools
python multi_gpu_train_v2.py --GPU 1

Test

1、Testing on the KAIST - Test Set

Make sure trained models is in the correct directory

cd $PATH_ROOT/tools

python test.py --rgb_data_dir PATH_TO/Reasonable_test_depth/visible --ir_data_dir PATH_TO/Reasonable_test_depth/lwir --save_dir PATH_TO/output/test_results --GPU 0

Eval

1、Evaluating the miss-rate of the obtained results
2、Copy results from output/test_results/txt -> eval/det
3、Arrange Ground Truth annotations in the following format

Ground_truth_directory

  --test-all
    ----annotations (these are orignal annotations)
    ----annotations_KAIST_test_set (these are imporved annotations)

  --test-day
    ----annotations (these are orignal annotations)
    ----annotations_KAIST_test_set (these are imporved annotations)

  --test-night
    ----annotations (these are orignal annotations)
    ----annotations_KAIST_test_set (these are imporved annotations)

4、Evaluate Metrics

run demo_test.m from MATLAB/GNU OCTAVE

Reference

1、https://github.com/endernewton/tf-faster-rcnn
2、https://github.com/zengarden/light_head_rcnn
3、https://github.com/tensorflow/models/tree/master/research/object_detection
4、https://github.com/CharlesShang/FastMaskRCNN
5、https://github.com/matterport/Mask_RCNN
6、https://github.com/msracver/Deformable-ConvNets
7、https://github.com/tianzhi0549/FCOS
8、https://github.com/Li-Chengyang/MSDS-RCNN

multispectral-fcos's People

Contributors

anushl9o5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.