Category Archives: AI

New Tutorial – Image Handling in DeepLearningKit

There has been a few requests (on github issues and stackoverflow) about image handling in DeepLearningKit, this is about how to transform back-and-forth between bitmap format used in the Deep Learning (conv.net) calculation and UIImage used in tvOS and iOS DeepLearningKit demo apps (for OS X the issue is still unsolved since NSImage is slightly… Read More »

Video Tutorial – Using the DeepLearningKit example OS X app

This video shows how to use the standalone (very simple) example iOS app that comes with DeepLearningKit, the code can be found (as part of the main repository) at github.com/DeepLearningKit/DeepLearningKit/tree/master/OSXDeepLearningKitApp/OSXDeepLearningKitApp Viewcontroller.swift import Cocoa class ViewController: NSViewController { var deepNetwork: DeepNetwork! override func viewDidLoad() { super.viewDidLoad() } override func viewDidAppear() { deepNetwork = DeepNetwork() // conv1.json contains… Read More »

Video Tutorial – Using the DeepLearningKit example iOS app

This video shows how to use the standalone (very simple) example iOS app that comes with DeepLearningKit, the code can be found (as part of the main repository) at github.com/DeepLearningKit/DeepLearningKit/tree/master/iOSDeepLearningKitApp/iOSDeepLearningKitApp Viewcontroller.swift import UIKit class ViewController: UIViewController { var deepNetwork: DeepNetwork! override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically from… Read More »

Tutorial – Using DeepLearningKit with iOS for iPhone and iPad

Screen Shot 2015-12-28 at 14.50.17

Clone DeepLearningKit:  git clone https://github.com/DeepLearningKit/DeepLearningKit.git 2. Clone demo app: git clone https://github.com/DeepLearningKit/DeepLearningKitForiOSDemoApp.git 3. Open DeepLearningKitForiOSDemoApp.xcodeproj in xcode (e.g. from Finder) 4. Have a look at ViewController.swift – notice that import DeepLearningKitForiOS gives an error (in red) 5. Open Finder and Drag DeepLearningForiOS.xcodeproj over to the demo app in xcode 6. Highlighted line below shows how the framework DeepLearningForiOS.xcodeproj can… Read More »

DeepLearningKit – Deep Learning for iOS (tested on iPhone 6S), tvOS and OS X developed in Metal and Swift

deeplearningkitoverview

In early October we purchased the new iPhone 6S and had high expectations of its GPU performance. One of the reasons for our expectations was a blog post by Simon Gladman where he wrote that iPhone 6S had 3 times the GPU performance of iPhone 6, this was also reported by TheNextWeb. In our GPU programming… Read More »

DeepLearningKit – Open Source Deep Learning Framework for Apple’s iOS, OS X and tvOS

Happy to announce that a (early) version of DeepLearningKit is available on: https://deeplearningkit.org https://github.com/deeplearningkit/ https://deeplearningkit.org/tutorials-for-ios-os-x-and-tvos/tutorial-using-deeplearningkit-with-ios-for-iphone-and-ipad/  FAQ 0. What does DeepLearningKit do? It currently allows using deep convolutional neural networks model trained in Caffe on Apple’s iOS, OS X and tvOS  (transformed from protobuffers into json with the tool at https://github.com/DeepLearningKit/caffemodel2json – a tutorial about this will come… Read More »