GithubHelp home page GithubHelp logo

qengineering / rock-5-ubuntu-22-image Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 0.0 15 KB

Rock Pi 5 image with Ubuntu 22, OpenCV, deep learning frameworks and NPU drivers

Home Page: https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html

License: BSD 3-Clause "New" or "Revised" License

ncnn ncnn-framework npu opencv rknpu2 rock-5 rock-pi-5 ubuntu22

rock-5-ubuntu-22-image's Introduction

Rock 5 with Ubuntu 22.04 OS image

output image

License


Installation.

  • Get a 16 GB (minimal) SD card holding the image.
  • Download the Rock5_Ubuntu22.img.xz image (3.6 GByte) from our Sync site.
  • Flash the image on the SD card with the Imager or balenaEtcher.
  • Insert the SD card in your Rock 5 and enjoy.
  • Username: 5ubuntu22
  • no password

Model performance benchmark(FPS)

All models, with C++ examples, can be found on the SD image.

demo model_name inputs_shape dtype Rock 5
yolov5 yolov5s_relu [1, 3, 640, 640] INT8 50.0
yolov5n [1, 3, 640, 640] INT8 58.8
yolov5s [1, 3, 640, 640] INT8 37.7
yolov5m [1, 3, 640, 640] INT8 16.2
yolov6 yolov6n [1, 3, 640, 640] INT8 63.0
yolov6s [1, 3, 640, 640] INT8 29.5
yolov6m [1, 3, 640, 640] INT8 15.4
yolov7 yolov7-tiny [1, 3, 640, 640] INT8 53.4
yolov7 [1, 3, 640, 640] INT8 9.4
yolov8 yolov8n [1, 3, 640, 640] INT8 53.1
yolov8s [1, 3, 640, 640] INT8 28.5
yolov8m [1, 3, 640, 640] INT8 12.1
yolox yolox_s [1, 3, 640, 640] INT8 30.0
yolox_m [1, 3, 640, 640] INT8 12.9
ppyoloe ppyoloe_s [1, 3, 640, 640] INT8 28.8
ppyoloe_m [1, 3, 640, 640] INT8 13.1
yolov5_seg yolov5n-seg [1, 3, 640, 640] INT8 9.4
yolov5s-seg [1, 3, 640, 640] INT8 7.8
yolov5m-seg [1, 3, 640, 640] INT8 6.1
yolov8_seg yolov8n-seg [1, 3, 640, 640] INT8 8.9
yolov8s-seg [1, 3, 640, 640] INT8 7.3
yolov8m-seg [1, 3, 640, 640] INT8 4.5
ppseg ppseg_lite_1024x512 [1, 3, 512, 512] INT8 27.5
RetinaFace RetinaFace_mobile320 [1, 3, 320, 320] INT8 243.6
RetinaFace_resnet50_320 [1, 3, 320, 320] INT8 43.4
PPOCR-Det ppocrv4_det [1, 3, 480, 480] INT8 31.5
PPOCR-Rec ppocrv4_rec [1, 3, 48, 320] FP16 35.7
  • Due to the pixel-wise filling and drawing, segmentation models are relatively slow

Tips.

  • If you need extra space delete the opencv and the opencv_contrib folder from the SD card. They are no longer needed since all libraries are stored in the /usr/ directory.
  • Use a tool like GParted sudo apt-get install gparted to expand the image to larger SD cards. We recommend a minimum of 64 GB. Deep learning requires a lot of space.

Pre-installed frameworks.


Thanks.

A more than special thanks to Stuart Naylor, who, ever so kindly, provided us with the Rock Pi 5 for free.
And Joshua Riek for all the hard work on the Ubuntu OS.


paypal

rock-5-ubuntu-22-image's People

Contributors

qengineering avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rock-5-ubuntu-22-image's Issues

Question about FPS data

Hii,

As usual thank you so much for what you are doing for the community!

I wanted to know if the FPS values shown in the table are for model inference on NPU or with ncnn?

I have run custom yolov5s models on the orangepi5 using npu but it only gives me upto 25FPS. Since both are RK3588, and theres very little performance difference between RK3588 and 3588s, I want to know what can be done to get my FPS to 37 and above.

Thanks in advance!

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.