Click here to Skip to main content
15,881,852 members
Articles / Artificial Intelligence / Tensorflow

Setting up a Deep Learning Machine on Azure from the App Marketplace

Rate me:
Please Sign up or sign in to vote.
3.80/5 (5 votes)
23 Oct 2018CPOL2 min read 5.9K   2   1
Using a pre-configured environment on Azure to create a "ready to go" Deep Learning machine

Introduction

I've run a lot of machine learning/A.I. projects as toys, and even a few not very complex ones in production. Normally, they run on the CPU, and in only one instance did I use a GPU ... the projects simply didn't require it. Sometimes however, you come across something you need to try out, and it needs a STONKIN BIG MOTHA of a machine to really get its teeth stuck in. I had to do that recently and found the quickest way to get started was to spin up what I needed using the pre-configured Azure Deep Learning environment, then drop it when I was finished. No messing around with configuration/installs or other faffing about, just straight down to business. This article walks through the process that is actually rather pleasantly simple.

Setup

The pre-build environment we want sits in the Azure app marketplace. It can run both Windows and Linux, and when switched on, gives you immediate access to all of the popular Deep Learning toolkits including Tensorflow, Keras, MS Cognitive Toolkit, etc. You can find the setup link for the deep-learning environment in the app marketplace here.

Image 1

To get started, click on the 'Get it now' button and then 'continue' once you agree to the usual 'sign your life away' malarkey.

Image 2

You will next be redirected to the Azure portal and asked to start environment creation.

Image 3

Fill in the usual things like machine name, resources group, etc. and the next part of the fun is to pick the machine size, and <cough> price! ....

Image 4

Now, let there be no panic when you see these prices! :)

Image 5

A lot of times, we look at prices of tech as developers and gulp .... wow, expensive! .... well, it depends .... this is the cloud, and the promise of the cloud is you only pay for what you use. So, in my case, and I am sure yours, I only want to sign up the machine for perhaps 30 minutes, do my clever clogs Machine Learning on the GPU, and then delete the box ... gone, never to be heard of again.... so actually, even the more expensive box listed, will only cost me a few dollars to spin up, use, and spin down again.

Image 6

After the usual few minutes of automation, the complete environment is up and ready to connect into!

Using this prebuilt environment on an 'as needed' basis saves a ton of time, and, so long as you remember to delete it afterwards, is a very affordable way to build models fast. Please, oh please don't forget to delete those big expensive environments after use!!! ... you've been warned. :)

History

  • 23rd October, 2018: Version 1

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Chief Technology Officer SocialVoice.AI
Ireland Ireland
Allen is CTO of SocialVoice (https://www.socialvoice.ai), where his company analyses video data at scale and gives Global Brands Knowledge, Insights and Actions never seen before! Allen is a chartered engineer, a Fellow of the British Computing Society, a Microsoft mvp and Regional Director, and C-Sharp Corner Community Adviser and MVP. His core technology interests are BigData, IoT and Machine Learning.

When not chained to his desk he can be found fixing broken things, playing music very badly or trying to shape things out of wood. He currently completing a PhD in AI and is also a ball throwing slave for his dogs.

Comments and Discussions

 
Bug<strike>No images?</strike> Pin
Kornfeld Eliyahu Peter24-Oct-18 4:03
professionalKornfeld Eliyahu Peter24-Oct-18 4:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.