Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 840 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 840 Bytes

Super Resolution Performance Stat Profiler.

This application is a test of the three main inference libraries on Android, TFLite, PyTorch and ONNX Runtime and it uses one of the the simplest model with the simplest Pre/Post processing, the Super Resolution model from the PyTorch Tutorials.

This is only on CPU for now, because it's the only delegate that can be used across all three inference frameworks. SuperResoultion on PyTorch can't run on NNAPI due to PixelShuffle, and ONNX Runtime does not have a GPU backend on Android. PyTorch also can't do GPU inference because we need three channels for a Vulkan shader.

This code is licenced under the Apache Licence.

The original Super Resoution Tutorial for this model can be found here: https://pytorch.org/tutorials/advanced/super_resolution_with_onnxruntime.html?highlight=onnx