Coder Social home page Coder Social logo

dl_1920's Introduction

DL_19/20: Deep Learning - From Theory to Practice
Christoph Brune

This repository contains the programming exercises for the Deep Learning course of 2019/2020 at the University of Twente.

Introduction to Colab

During this course we will be using Google Colab for the programming exercises. Colaboratory is a free Jupyter notebook environment that requires no setup and runs entirely in the cloud. Its main advantage is that Colab offers the possibility to run your code on high-end GPU's which are well suited for Deep Learning models and can speed up your programs significantly. Also, most of the Python packages that we will be using are already installed in this environment.

If you prefer to do offline development outside of Colab you need to install Python and Jupyter on your own laptop, as well as the relevant Python packages. Below there are instructions on how to do this. The GPU on your laptop is often not good enough to speed up the computations done in the models, so we recommend to still use Colab for this. The easiest way to interact with Colab is to save your code on Google Drive. It is therefore recommended to use git to clone this repository into a folder that is synchronized with Drive (see instructions below). Your student account is also a Google account so you should already have access to Google Drive.

Local Python installation


Follow the following instructions to install Miniconda and create a Python environment for the course:

  1. Download the Python 3.7 installer for Windows, macOS, or Linux from https://conda.io/miniconda.html and install with default settings. Note for Windows: If you don't know if your operating system is 32-bit or 64-bit, then open Settings-System-About-System type to find out your xx-bit system.

  2. Windows: Open the Anaconda Prompt terminal from the Start menu. MacOS, Linux: Open a terminal.

  3. Install git: conda install git.

  4. Download the GitHub repository of the course: git clone https://github.com/ChristophBrune/DL_1920.

  5. Go to folder DL_1920 with cd DL_1920, and create a Python virtual environment with the packages required for the course: conda env create -f environment.yml. Note that the environment installation may take some time.

    Notes:
    The installed conda packages can be listed with conda list.
    Some useful Conda commands are pwd, cd, ls -al, rm -r -f folder/
    Add a python library to the Python environment: conda install -n DL_1920 numpy (for example)
    Read Conda command lines for packages and environments
    Read managing Conda environments



Running local Python notebooks


  1. Windows: Open the Anaconda Prompt terminal from the Start menu. MacOS, Linux: Open a terminal.
  2. Activate the environment. Windows: activate deeplearn_course, macOS, Linux: source activate deeplearn_course.
  3. Download the python notebooks by direct downloads from the next section or with GitHub with the command git pull.
  4. Start Jupyter with jupyter notebook. The command opens a new tab in your web browser.
  5. Go to the exercise folder, for example DL_1920/codes/1_tutorial/lab01_python.


dl_1920's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.