Skip to content

Application to test inference frameworks for Android

License

Notifications You must be signed in to change notification settings

elliotnam0411/dnn_benchmark

 
 

Repository files navigation

Deep Neural Networks Benchmark for Android

Available on Google Play. Subscribe to news telegram channel. Discuss this repo, frameworks, networks on mobile in telegram group.

Road map

Frameworks:

Questionable/other:

Features:

  • Compare inference results between frameworks and desktop
  • Visualize progress/results
  • Publish to Play Market
  • Collect results on backend
  • Web site with agregated results

Models:

All models are floating point

Supported ABIs: armeabi-v7a, arm64-v8a. Some frameworks (eg TF) also supports x86 and x86_64, but are they still exist in 2020?

Conversions / Run your own model

A detailed explanation of how to convert the model into each framework available here.

Here is repo with docker images contatining some built converters and other maybe nessesary tools. gordinmitya/docker_that_framework

Credits

SNPE

Qualcomm prohibits redestribution of their libraries, so you have to register there and download them by yourself. ¯\_(ツ)_/¯

  1. Register and download zip from developer.qualcomm.com;
  2. Copy android/snpe-release.aar from archive into snpe/libs.

OR compile without snpe

  1. Remove , ':snpe' from settings.gradle;
  2. Remove implementation project(path: ':snpe') from app/build.gradle;
  3. Remove amy mentions of SNPE in MainActivity.kt.

License Summary

Project itself and code inside ru.gordinmitya.* packages are under MIT licanse as stated in LICENSE file.

Code inside other packages (eg org.opencv.*) or some C plus plus code may be under other licenses.

RANDOM

ImageNet samples were taken from Kaggle.

About

Application to test inference frameworks for Android

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 73.9%
  • C++ 17.7%
  • C 3.5%
  • Kotlin 2.5%
  • Objective-C 2.2%
  • Python 0.1%
  • Other 0.1%