Code Monkey home page Code Monkey logo

atlas_nanodet's Introduction

atlas_nanodet

Introduction

This is a project to deploy Nanodet on Atlas200DK.

The code contains two achiving method at opencv and CANN(Compute Architecture for Neural Networks) in Python.

我很喜欢Nanodet这个算法,因此把它部署到了Atlas200DK上,分别使用python opencv和华为CANN框架实现了嵌入上nanodet模型的推理。

Dependents:

Before trying, you should have prepared for the running environments as below, especially the pyACL for CANN

opencv_python>=4.0
opencv_contrib_python>=4.0
pyACL

Usage:

git clone  https://github.com/stunback/atlas_nanodet.git

# your '~/.bashrc' shoule have the CANN environments setup
source ~/.bashrc  
cd atlas_nanodet/src

# inference at CANN
python3 acl_nanodet.py

# inference at opencv
python3 main_nanodet.py

Results

The onnx model I use is from the origin nanodet repo,

https://github.com/RangiLyu/nanodet.git

So I just test the model inference time without pre and post process,

nanodet_s(320)
onnx=170.5ms
cann=8.5ms

nanodet_m(416)
onnx=280.0ms
cann=11.0ms

More About

For more details, welcome to my blog:
https://blog.csdn.net/qq_41035283/article/details/119150751

atlas_nanodet's People

Contributors

stunback avatar

Stargazers

 avatar

Watchers

 avatar

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.