Baidu puts open source deep learning into smartphones

Computer vision, deep learning, and the camera in your phone

By Richard Chirgwin

Posted in Artificial Intelligence, 26th September 2017 07:31 GMT

A year after it open sourced its PaddlePaddle deep learning suite, Baidu has dropped another piece of AI tech into the public domain – a project to put AI on smartphones.

Mobile Deep Learning (MDL) landed at GitHub under the MIT license a day ago, along with the exhortation “Be all eagerness to see it”.

MDL is a convolution-based neural network designed to fit on a mobile device. Baidu said it is suitable for applications such as recognising objects in an image using a smartphone's camera.

The neural network's calculations are offloaded to a phone's GPU, the company says at its repo, with high speed and low complexity. While it runs on either iOS or Android, the project's documentation leans more towards Apple than Google, with GPU support still an Android to-do, along with TensorFlow model support.

Baidu says the code fits in around 4 MB with no third-party library dependencies (beyond the neural networking models). The developers recommend the company's PaddlePaddle model for use with MDL, but it can also use Caffe.

The screen shots below show MDL can recognise a smartphone in less than half a second.

Another MDL demo identified the pattern on a china teacup, and used that as in a search to find matching products for sale.

MDL supports MobileNet, SqueezeNet and GoogLeNet. ®

Sign up to our NewsletterGet IT in your inbox daily

4 Comments

More from The Register

BlackBerry and Baidu buddy up on autonomous autos

BB's QNX already used by Ford, Apple and Aptiv

Baidu-backed fund has a billion quid for 100 self-driving projects

China's Google also updated its open-source autonomous vehicle software

China's Baidu, GPU monster Nvidia cuddle up at Beijing dev bash

Robo-ride car tech will use Drive PX 2 hardware, plus other bits from the conference

Q. Why is Baidu sharing its secret self-driving sauce? A. To help China corner the market

Analysis Web giant wants to accelerate collaboration amid Western competition

Huawei reckons it can strong ARM its way into AI world with new chips

We're assuming Chinese giant will use ARM in ML processors. It probably will, right?

Artificial intelligence will eradicate channel drudgery, says Lenovo boss

Canalys Channels Forum 2016 Any intelligence would be a start, grumble partners

Yay, it's power play day: Conaway prays USA says 'no way' to Huawei

US House rep proposes govt ban on Chinese mobile tech

US Senate mulls giving Huawei and ZTE the Kaspersky treatment

Now both halves of Congress consider banning Chinese goliaths' tech within govt

Uncle Sam's treatment of Huawei is world-class hypocrisy – consumers will pay the price

Comment Wait. Did you say 'insecure chips'?

Huawei claims national security is used as plausible excuse for 'protectionism'

Global government affairs veep wants trade rules to apply