Swift Alps 2019

This post contains the starting resources, documentation, and links for the workshops run by Mars and Paris at Swift Alps 2019.

Workshop 1: Practical AI with Swift (Thursday, 28 November 2019)

Learn to use CreateML and CoreML, Apple’s Swift-powered machine learning (ML) frameworks. You can build everything from an image classifier, to an app that can generate images, to a style transfer app to mimic famous art styles. It’s easier than it sounds, and it’s a great place to get started in the world of AI and ML.

Prerequisites

  • a recent version of Xcode 11
  • macOS Catalina

Resources

Please clone or download this GitHub repository: https://github.com/AIwithSwift/SwiftAlps19_PracticalAI


Workshop 2: Swift for TensorFlow (Friday, 29 November 2019)

Take your knowledge of Swift in an entirely new direction with Swift for TensorFlow, Google’s brand new machine learning framework, built on Swift, and created by Chris Lattner, the original creator of Swift. Swift for TensorFlow is a proper, powerful, scientific and numerical computing framework built from the ground up to take advantage of everything Swift and LLVM (Swift’s underlying compiler framework) can do. Learn how to build a neural network from scratch, how to train it, and how the ins-and-outs of machine learning work at a lower level than Apple’s frameworks. And do it all with Swift.

Prerequisites

  • a Google Account capable of accessing both Google Drive and Google Colab
  • an internet connection

Resources

Getting Started

To copy the tutorial notebooks into your Google Drive:

Open the shared Google Drive folder, containing the notebooks: https://drive.google.com/open?id=1MBVimepXYoiNOB3-L4mATk8Msz9ISigE

Add the shared SwiftAlps19_S4TF folder to your Google Drive:

Click the dropdown next to the folders name, and then clicking “Add to My Drive”, as shown in the image below.

Once the SwiftAlps19_S4TF folder is in your Google Drive:

Open whichever notebook(s) you want to work with by double clicking them, and then clicking Google Colaboratory, as shown in the image below.

If you see the notebook as raw text, click the “Open with” dropdown at the top, and click Google Colaboratory, or if you don’t see Colab as an option, click “Connect more apps”:

Then add “Google Colaboratory”:

Then open it with Colab:

Once your notebook is open, run it in Playground mode to allow cells to compile and run, as shown in the image below: