alessaba / coreml-benchmark

Added lighter variation of ML Model to make it run on the Watch. uses a text ML because CVPixelBuffer is not available as of watchOS 6.1 (Original project at: http://artizans.ai/posts/coreml-benchmark-on-iphone-11/ )

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Core ML Benchmark

demo Benchmarking Deeplab's performance using Core ML on the iPhone 11 and previous devices

Running it

Most of the important code is in benchmark/ViewController.swift.

We simply load the model and the input data on initialization. When the button is pressed, we run inference several time. When the process is done, we display the number of images per seconds.

About

Added lighter variation of ML Model to make it run on the Watch. uses a text ML because CVPixelBuffer is not available as of watchOS 6.1 (Original project at: http://artizans.ai/posts/coreml-benchmark-on-iphone-11/ )


Languages

Language:Swift 100.0%