All Projects → FateScript → Centernet Better

FateScript / Centernet Better

Licence: apache-2.0
An easy to understand and better performance version of CenterNet

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Centernet Better

Involution
[CVPR 2021] Involution: Inverting the Inherence of Convolution for Visual Recognition, a brand new neural operator
Stars: ✭ 252 (-35.88%)
Mutual labels:  object-detection
Fire Detection Cnn
real-time fire detection in video imagery using a convolutional neural network (deep learning) - from our ICIP 2018 paper (Dunnings / Breckon) + ICMLA 2019 paper (Samarth / Bhowmik / Breckon)
Stars: ✭ 340 (-13.49%)
Mutual labels:  object-detection
Gfocal
Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection, NeurIPS2020
Stars: ✭ 376 (-4.33%)
Mutual labels:  object-detection
Face recognition
🍎 My own face recognition with deep neural networks.
Stars: ✭ 328 (-16.54%)
Mutual labels:  object-detection
Custom Object Detection
Custom Object Detection with TensorFlow
Stars: ✭ 338 (-13.99%)
Mutual labels:  object-detection
Foveabox
FoveaBox: Beyond Anchor-based Object Detector
Stars: ✭ 353 (-10.18%)
Mutual labels:  object-detection
Drishti
Real time eye tracking for embedded and mobile devices.
Stars: ✭ 325 (-17.3%)
Mutual labels:  object-detection
Yolo V5
🎨 Pytorch YOLO v5 训练自己的数据集超详细教程!!! 🎨 (提供PDF训练教程下载)
Stars: ✭ 379 (-3.56%)
Mutual labels:  object-detection
Rectlabel Support
RectLabel - An image annotation tool to label images for bounding box object detection and segmentation.
Stars: ✭ 338 (-13.99%)
Mutual labels:  object-detection
Video obj
基于视频的目标检测算法研究
Stars: ✭ 372 (-5.34%)
Mutual labels:  object-detection
Defcn
End-to-End Object Detection with Fully Convolutional Network
Stars: ✭ 335 (-14.76%)
Mutual labels:  object-detection
Object Detection Metrics
Most popular metrics used to evaluate object detection algorithms.
Stars: ✭ 3,888 (+889.31%)
Mutual labels:  object-detection
T Cnn
ImageNet 2015 Object Detection from Video (VID)
Stars: ✭ 360 (-8.4%)
Mutual labels:  object-detection
Edgenets
This repository contains the source code of our work on designing efficient CNNs for computer vision
Stars: ✭ 331 (-15.78%)
Mutual labels:  object-detection
Multi Camera Live Object Tracking
Multi-camera live traffic and object counting with YOLO v4, Deep SORT, and Flask.
Stars: ✭ 375 (-4.58%)
Mutual labels:  object-detection
Tensorflow Yolov3
🔥 TensorFlow Code for technical report: "YOLOv3: An Incremental Improvement"
Stars: ✭ 3,498 (+790.08%)
Mutual labels:  object-detection
Sianet
An easy to use C# deep learning library with CUDA/OpenCL support
Stars: ✭ 353 (-10.18%)
Mutual labels:  object-detection
Vehicle Detection And Tracking
Computer vision based vehicle detection and tracking using Tensorflow Object Detection API and Kalman-filtering
Stars: ✭ 384 (-2.29%)
Mutual labels:  object-detection
Mask rcnn
Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow
Stars: ✭ 21,044 (+5254.71%)
Mutual labels:  object-detection
Tf Faster Rcnn
Tensorflow Faster RCNN for Object Detection
Stars: ✭ 3,604 (+817.05%)
Mutual labels:  object-detection

CenterNet

This repo is implemented based on my dl_lib, some parts of code in my dl_lib is based on detectron2.

Motivation

Objects as Points is one of my favorite paper in object detection area. However, its code is a little difficult to understand. I believe that CenterNet could get higher pts and implemented in a more elegant way, so I write this repo.

Performance

This repo use less training time to get a better performance, it nearly spend half training time and get 1~2 pts higher mAP compared with the old repo. Here is the table of performance.

Backbone mAP FPS V100 FPS trained model
ResNet-18 29.8 92 113 google drive
ResNet-50 34.9 57 71 google drive
ResNet-101 36.8 43 50 google drive

What's New?

  • treat config as a object. You could run your config file and check the config value, which is really helpful for debug.
  • Common training / testing scripts in default. you just need to invoke dl_train/test --num-gpus x in your playground and your projects only need to include all project-specific configs and network modules.
  • Performance report is dumped automaticly. After your training is over, we will evaluate your model automatically and generate a markdown file.
  • Vectorize some operations. This improves the speed and efficiency.

What's comming

  • [ ] Support DLA backbone
  • [ ] Support Hourglass backbone
  • [ ] Support KeyPoints dataset

Get started

Requirements

  • Python >= 3.6
  • PyTorch >= 1.3
  • torchvision that matches the PyTorch installation.
  • OpenCV
  • pycocotools
pip install cython; pip install 'git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'
  • GCC >= 4.9
gcc --version

Installation

Make sure that your get at least one gpu when compiled. Run:

pip install -e .

Training

For example, if you want to train CenterNet with resnet-18 backbone, run:

cd playground/centernet.res18.coco.512size
dl_train --num-gpus 8

After training process, a README.md file will be generated automatically and this file will report your model's performance.

NOTE: For ResNet-18 and ResNet-50 backbone, we suppose your machine has over 150GB Memory for training. If your memory is not enough, please change NUM_WORKER (in config.py) to a smaller value.

Testing and Evaluation

dl_test --num-gpus 8 

test downloaded model:

dl_test --num-gpus 8  MODEL.WEIGHTS path/to/your/save_dir/ckpt.pth 

Acknowledgement

Coding style

please refer to google python coding style

Citing CenterNet-better

If you use CenterNet-better in your research or wish to refer to the baseline results published in this repo, please use the following BibTeX entry.

@misc{wang2020centernet_better,
  author =       {Feng Wang},
  title =        {CenterNet-better},
  howpublished = {\url{https://github.com/FateScript/CenterNet-better}},
  year =         {2020}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].