Home

Awesome

keras-CenterNet

This is an implementation of CenterNet for object detection on keras and Tensorflow. The project is based on fizyr/keras-retinanet and the official implementation xingyizhou/CenterNet. Thanks for their hard work.

The network is anchor-free. It is quite simple, fast and accurate.

Test

  1. I trained on Pascal VOC2012 trainval.txt + Pascal VOC2007 train.txt, and validated on Pascal VOC2007 val.txt. There are 14041 images for training and 2510 images for validation.
  2. The best evaluation results (score_threshold=0.01, flip_test=True, nms=True) on VOC2007 test are:
backbonemAP<sub>50</sub>
resnet500.7290
  1. The weights of resnet backbones can be downloaded from fizyr/keras-models.
    Pretrained centernet model is here. baidu netdisk extract code: pti9 google driver
  2. python3 inference.py to test your image by specifying image path and model path there.

image1 image2 image3

Train

build dataset (Pascal VOC, other types please refer to fizyr/keras-retinanet)

train

Evaluate

License

This project is released under the Apache License. Some parts are borrowed from fizyr/keras-retinanet and xingyizhou/CenterNet. Please take their licenses into consideration too when use this project.