GithubHelp home page GithubHelp logo

syencil / ncnn-android-projects Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 4.0 29.06 MB

Android Demon of mobilev2-yolo5s and retinaface

Java 4.38% CMake 0.66% C++ 93.18% C 1.78%
mobilev2-yolo5s retinaface ncnn

ncnn-android-projects's Introduction

ncnn-android-projects

Introduction

Android Demon of mobilev2-yolo5s and retinaface。深度学习模型工程化优化的最后一步。
模型端轻量化,剪枝,蒸馏 ===>https://github.com/Syencil/mobile-yolov5-pruning-distillation
云端和嵌入式端模型转换 ===> https://github.com/Syencil/tensorRT

Achieved

  1. 实现检测模型的demo,模型为mobilev2-yolo5sretinaface
  2. 实现模型之间的一键转换,图像大小的一键转换(640 ===> 320)。返回的Toast时间为是从java代码请求C++开始到得到结果的总时间,而benchmark返回的fps仅为infer的时间
  3. 目前仅测试过华为P40 pro的CPU端

Attention

此android只是一个方便展示的前端界面。C++均为本人所写,JAVA大部分参考了其他git。具体优化方式和内容请移步mobilev2-yolo5s

ncnn-android-projects's People

Contributors

syencil avatar

Stargazers

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

Watchers

 avatar  avatar

ncnn-android-projects's Issues

retinaface模型专ncnn

您好!非常感谢您的分享!有个问题请教
我做retinaface mobile0.25模型 转 ncnn模型时,遇到一些问题,经过处理后能转成功,但前向出现 段错误;
而rfb模型和slim模型则可以成功

问题:该工程中,retinaface模型默认是mobile0.25转来的对吗?? 我就是在转这个模型出的问题,请教您的经验???期待回复

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.