Giter VIP home page Giter VIP logo

ace-intro-to-deep-learning's Introduction

Intro to Deep Learning

  • Update (Mar. 19, 2020) * I've added a starter Python script for today's 'AMP Challenge' along with training and validation sets. The final test set will be added later!

Example scripts for running deep neural networks using Keras and TensorFlow2 in Python and R.

Accessing files to run from the HPC

Example files are located in: /home/bcbb_teaching_files/intro_deep_learning/

NOTE: I suggest you either clone this GitHub repo or copy the HPC files to a folder in your local home directory!

Activate the conda environment:

conda activate /home/bcbb_teaching_files/intro_deep_learning/envs

If that does not work try the following:

source activate /home/bcbb_teaching_files/intro_deep_learning/envs

This should make Tensorflow2 and other libraries available to you. At the moment, it appears an old version of conda is still installed causing the conda activate command to not work properly.

Installing on your own machine

To run these you'll need python and the following packages installed. :

  • numpy
  • scikit-learn
  • h5py
  • Pillow
  • matplotlib
  • tensorflow (v2 now includes keras)

I recommend installing packages using a virtual environment. On a Linux machine, pip should work for the above packages but if you have Anaconda installed, you can easily use the deep_learning_environment.yml file to make a deep_learning environment via the command: conda create -f deep_learning_environment.yml.

You can install to a specific directory using: conda create --prefix ./envs -f deep_learning_environment.yml where ./envs is the directory you want to install to.

Note For Mac Users! - I recommend installing tensorflow via Anaconda rather than pip (also applies to R users). You might also need to also install the nomkl package to prevent a multithreading bug in numpy.

ace-intro-to-deep-learning's People

Contributors

dan-veltri avatar

Watchers

James Cloos avatar

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.