Code Monkey home page Code Monkey logo

ppdetectionpytorch's Introduction

PPDetectionPytorch

use pytorch to reimplement paddle detection

简体中文 | English

illustrate

This project aims to:

  • Learn object detection and PPDetection code
  • Enable PPDetection model to be used on pytorch
  • Provide a reference for paddle to pytorch

TODO

  • Coordinate transformation of target detection in yolov3 inference part
  • Rotating frame detection model PP-YOLOE-R
  • Small target detection model PP-YOLOE-SOD
  • PP-Human v2
  • PP-Vehicle
  • Object detection model training part
  • Multiple target tracking
  • ...

Notice

PPDetectionPytorch is a pytorch implementation based on PaddleDetection and PaddleYOLO.

RECENT UPDATED

  • 2023-05-31 fix issue #1 yolov6 infer update
  • 2023-05-26 Migration model inference part: rt-detr(RT-DETR-R50-m,RT-DETR-R34,RT-DETR-R18)
  • 2023-04-25 Migration model inference part: rt-detr(DETRs Beat YOLOs on Real-time Object Detection)
  • 2023-02-13 Migration model inference part: retinanet
  • 2023-02-11 Migration model inference part: blazeface
  • 2023-02-03 Migration model inference part: ssd
  • 2023-01-20 Migration model inference part: yolov8
  • 2023-01-06 Coordinate transformation of target detection in yolov3 inference part
  • 2022-12-21 Migration model inference part: picodet, ppyoloe, yolox, yolov5, yolov6, yolov7, rtmdet
  • 2022-12-19 Base code migration

Instructions for use

Code path modification

WORK_DIR Constants.WORK_DIR is changed to the absolute path of your own code

Model Inference

Model Weights

Automatically download the corresponding model weights in configs to the ~/.cache/paddle/weights directory during the first inference. This directory is the specified directory for downloading the PPDetection inference model. Model weights will be automatically converted to pytoch weights and saved to the current directory.

Model weight automatic conversion code

Run inference tests

Currently only part of the model weights are converted: The run_picodet_coco_batch function in run_detection_infer.py uses different model_classes for reasoning tests

Inference result output

Output inference results and corresponding network paddle and pytorch model weight names Inference output directory

refer to

ppdetectionpytorch's People

Contributors

cycloneboy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jiesonshan

ppdetectionpytorch's Issues

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.