资源算法MobileNet-iOS

MobileNet-iOS

2020-02-27 | |  55 |   0 |   0

MobileNet-iOS

Google's MobileNet on iOS. Specifically, mobileNet is implemented by MPSCNN which use the Metal to improve the CNN performence. MobileNet architecture comes from the paper MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications.

The mobileNet is trained by Caffe on Server, and then convert the weights to MPSCNN weight format. This part is finished by my colleague.

For ordinary convolution in MPSCNN, weight format is [outputChannel][kernelHeight][kernelWidth][inputChannel] For depthwise convolution, weight format is [kernelHeight][kernelWidth][featureChannels]

The trained mobileNet model is 16.9M, which is pretty small. And the inference time on iphone 6s plus is about 50ms, it's pretty fast. For iphone 7, it must be faster.

Requirements

Xcode 8.0

iOS 10.0+

Example

图片.png

Notice

This project can't run on iOS simulator, as iOS simulator don't support metal.

Reference


上一篇:CenterNet-MobileNetV3

下一篇:pva-mobilenet-v2

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...