Skip to content

hvning/simple-centernet-pytorch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-centernet-pytorch

This is just a simple implementation of "CenterNet:Objects as Points".
office: https://github.com/xingyizhou/CenterNet

Motivation

Unlike the other repo, I just used pure pytorch. Unlike most implementation base on detectron2 or mmdetection, I made the code as simple as possible to understand, no trick, as close to the original performance as possible(I hope so).
Anyway, if someone looks at the code and sees any bugs, feel free to let me know.

Todo

  • Be able to train smoothly and converge.
  • Inference.
  • COCO and PASCAL_VOC evaluate.
  • Improve performance.
  • More backbone.
  • So on.

Requirements

Win10 or Linux.

torch >= 1.2.0  
torchvision>=0.4.1  
timm >= 0.1.14
Pillow >= 6.2.2
opencv-python >= 4.2.0
albumentations >= 0.4.5

How to train

Modify config/{}.py according to your needs, then python train_{}.py.

How to inference

Modify this script inference.py that is easy to understand, then python inference.py.

Some simple results

e1 e2 e3

About

This is just a simple implementation of "CenterNet:Objects as Points"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%