Skip to content

kneron/kneron-mmdetection

Kneron AI Training/Deployment Platform (mmDetection-based)

Introduction

kneron-mmdetection is a platform built upon the well-known mmdetection for detection and instance segmentation. We encourage you to start with YOLOX: Step-By-Step to build basic knowledge of Kneron-Edition mmdetection, and read mmdetection docs for detailed mmdetection usage.

In this repository, we provide an end-to-end training/deployment flow to realize on Kneron's AI accelerators:

  1. Training/Evalulation:
  2. Converting to ONNX:
    • pytorch2onnx_kneron.py (beta)
    • Export optimized and Kneron-toolchain supported onnx
      • Automatically modify model for arbitrary data normalization preprocess
  3. Evaluation
    • test_kneron.py (beta)
    • Evaluate the model with pytorch checkpoint, onnx, and kneron-nef
  4. Testing
    • inference_kn (beta)
    • Verify the converted NEF model on Kneron USB accelerator with this API
  5. Converting Kneron-NEF: (toolchain feature)
    • Convert the trained pytorch model to Kneron-NEF model, which could be used on Kneron hardware platform.

License

This project is released under the Apache 2.0 license.

Changelog

N/A

Overview of Benchmark and Kneron Model Zoo

Backbone size Mem (GB) box AP Config Download
YOLOX-s 640 7.6 40.5 config model

Installation

Getting Started

Tutorial - Kneron Edition

  • YOLOX: Step-By-Step: A tutorial for users to get started easily. To see detailed documents, please see below.

Documents - Kneron Edition

Original mmdetection Documents

Contributing

kneron-mmdetection a platform built upon OpenMMLab-mmdetection

  • For issues regarding to the original mmdetection: We appreciate all contributions to improve OpenMMLab-mmdetection. Ongoing projects can be found in out GitHub Projects. Welcome community users to participate in these projects. Please refer to CONTRIBUTING.md for the contributing guideline.

  • For issues regarding to this repository kneron-mmdetection: Welcome to leave the comment or submit pull requests here to improve kneron-mmdetection

Related Projects

About

AI Training code for easy deploy to Kneron devices

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages