Category Archives: Deep Learning

Deep Learning for Text Summarization

A few years back I was involved in a project trying to do realtime/low latency text summarization (without deep learning) using a Nvidia Tesla C1060 GPU (roughly state-of-the-art GPU back then), the motivation for doing realtime summarization was driven by an idea of improving search results in general. The issue with search is that it… Read More »

Deep Learning for Named Entity Recognition

About a year ago I wrote a blog post about recent research in Deep Learning for Natural Language Processing covering several subareas. One of the areas I didn’t cover was Deep Learning for Named Entity Recognition – so here are some interesting recent (2015-2016) papers related to that: Capturing Semantic Similarity for Entity Linking with… Read More »

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

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

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: http://deeplearningkit.org https://github.com/deeplearningkit/ http://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 »