avatarAdam Geitgey

Summary

The website provides a pre-configured Ubuntu virtual machine (VM) image for developers to easily explore deep learning in Python without the hassle of library installations.

Abstract

The author of the website, an enthusiast of machine learning topics such as face recognition and image classification, has created a fully pre-configured Ubuntu VM to simplify the setup process for machine learning development. This VM comes with essential tools like Python 3.5, OpenCV, dlib, TensorFlow, and Keras, along with code examples and the PyCharm Community Edition IDE. The VM is designed for educational purposes and does not require GPU acceleration, making it accessible to users without Nvidia GPUs. The website also provides a step-by-step guide on how to download, set up, and run the VM, emphasizing the ease of use for those who may be deterred by the complex installation procedures typically involved in setting up a machine learning environment.

Opinions

  • The author believes that the complexity of installing machine learning libraries can deter people from experimenting with machine learning.
  • They suggest that in 2017, it should be straightforward for anyone to try out machine learning technologies.
  • The author has observed that the majority of issues filed on their open-source projects are related to installation difficulties.
  • They have a positive view of making machine learning accessible through pre-configured tools and environments.
  • The author provides a note that the VM is intended for desktop use and educational purposes, indicating a focus on individual learning rather than server-based production environments.
  • They express gratitude towards CYDNE for hosting the VM file on a fast connection, implying that quick and reliable access to resources is important for user experience.
  • The author advises against using the VirtualBox version of the VM due to performance issues, suggesting a preference for VMware products.
  • They encourage users to change the default password upon first login for security purposes.
  • The author invites users to explore their "Machine Learning is Fun" series and to follow them on social media or join their email list for updates, indicating a commitment to community engagement and education.

Try Deep Learning in Python now with a fully pre-configured VM

New VM image — updated March 2018!

I love to write about face recognition, image recognition and all the other cool things you can build with machine learning. Whenever possible, I try to include code examples or even write libraries/APIs to make it as easy as possible for a developer to play around with these fun technologies.

But the number one question I get asked is “How in the world do I get all these open source libraries installed and working on my computer?

If you aren’t a long-time Linux user, it can be really hard to figure out how to get a system fully configured with all the required machine learning libraries and tools like TensorFlow, Keras, OpenCV, and dlib. The majority of the issues that get filed on my own open source projects are about how to install these tools. A lot of people get stuck while installing everything and give up before ever getting to play around with any code. That’s a shame!

Try out machine learning now with this pre-configured Ubuntu VM. Everything is ready to go.

There’s no reason it should be so hard to try things out in 2017. To make it simple for anyone to play around with machine learning, I’ve put together a simple virtual machine image that you can download and run without any complicated installation steps.

The virtual machine image has Ubuntu Linux Desktop 16.04 LTS 64-bit pre-installed with the following machine learning tools:

  • Python 3.5
  • OpenCV 3.2 with Python 3 bindings
  • dlib 19.9 with Python 3 bindings
  • TensorFlow 1.5 for Python 3
  • Keras 2 for Python 3
  • face_recognition for Python 3 (for playing around with face recognition)
  • PyCharm Community Edition already set up and ready to go for all these libraries
  • Convenient code examples ready to run, right on the desktop!
  • Even the webcam is preconfigured to work inside the Linux VM for OpenCV / face_recognition examples (as long as you set up your webcam to be accessible in the VMware settings).

Note: This is a desktop VM meant for educational purposes, not a VM meant for use on a server. Due to licensing and installation complications, there’s no GPU acceleration / CUDA support provided. So you don’t need an Nvidia GPU to try this out, but it also won’t take advantage of a GPU if you have one.

How to download and run the Deep Learning VM in 3 simple steps:

  1. Download the 7.7GB VM .tar.gz file (hosted on a fast connection thanks to the fine people at CYDNE!). Uncompress the file when it’s complete. A VM for VirtualBox is also available, but the performance in VirtualBox can be pretty bad. So don’t the VirtualBox version unless you don’t have any other choice.
  2. You need VMware to run this virtual machine image. If you don’t already have VMware installed, download the appropriate version for your operating system. Windows or Linux users should download the free VMware Workstation Player. Mac users can grab the free VMWare Fusion 30-day demo.
  3. Launch VMware, open the VM image and run it! Linux should boot right up. See below for the user account password.

Tips

  1. The username is ‘deeplearning’ and the password is ‘deeplearning’. You might want to change the password after you log in.
  2. This is a 64-bit virtual machine. You’ll need a 64-bit CPU, circa 2011 or newer to run it. Sorry, but it won’t work if you have an older CPU in your computer.
  3. If you launch PyCharm Community Edition from the left sidebar, there are several pre-created projects you can open. Try the face_recognition, OpenCV or Keras projects and run some of the demos. Right-click on the code window and choose “Run” to run the current file in PyCharm.
  4. If you configure your webcam in VMware settings, you can access your webcam from inside the Linux virtual machine! Try running one of the face_recognition webcam demos after setting it up.

Have fun!

If you are new to machine learning, you might enjoy my Machine Learning is Fun series. Try starting with Part 1.

If you liked this article, please consider signing up for my Machine Learning is Fun! email list. I’ll only email you when I have something new and awesome to share. It’s the best way to find out when I write new articles.

You can also follow me on Twitter at @ageitgey, email me directly or find me on linkedin. I’d love to hear from you if I can help you or your team with machine learning.

Linux
Machine Learning
Recommended from ReadMedium