Giter Site home page Giter Site logo

gsgbills / deeplearning_keras2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from roebius/deeplearning_keras2

0.0 2.0 0.0 18.05 MB

Modification of fast.ai deep learning course notebooks for usage with Keras 2 and Python 3.

License: Apache License 2.0

Jupyter Notebook 99.77% Python 0.23%

deeplearning_keras2's Introduction

Modified notebooks and Python files for Keras 2 and Python 3 from the fast.ai Deep Learning course

The repository includes modified copies of the original Jupyter notebooks and Python files from the excellent (and really unique) deep learning course "Practical Deep Learning For Coders" Part 1 and Part 2, created by fast.ai. The original files require Keras 1.

Part 1

Located in the nbs folder. Tested with Keras 2.0.6 on both Ubuntu 16.04 and Python 3.5 (installed through apt-get) and MacOS 10.12.4 with Python 3.6 (installed with Homebrew). In Part 1 the Theano backend for Keras has been used.

Part 2

Located in the nbs2 folder. Tested with Keras 2.0.6 on Ubuntu 16.04 with Python 3.5 (installed through apt-get). In Part 2 the TensorFlow backend for Keras has been used.

The files keras.json.for_TensorFlow and keras.json.for_Theano provide a template for the appropriate keras.json file, based on which one of the two backends needs to be used.

A Python 3 virtualenv has been used for both parts. In order to facilitate the installation of the required Python packages, this repository includes also the requirement files that can be used with the pip command. These files include additional packages that might be useful for further exploration.

The comments that I inserted in the modules generally start with "# -" when they are not just "# Keras 2".

Notes about Part 2

Issues

rossman.ipynb: section "Using 3rd place data" has been left out for lack of the required data

spelling_bee_RNN.ipynb: after the main part of the notebook, in the final "Test code ..." section I was not able to solve an issue with the K.conv1d cell not working

taxi_data_prep_and_mlp.ipynb: section "Uh oh ..." has been left out. Caveat: running all the notebook at once exhausted 128 GB RAM; I was able to run each section individually only after resetting the notebook kernel each time

tiramisu-keras.ipynb: in order to run the larger size model I had to reset the notebook kernel in order to free up enough GPU memory (almost 12 GB) and jump directly to the model

Left-out modules

neural-style-pytorch.ipynb (found no way to load the VGG weights; it looks like some version compatibility issue)

rossman_exp.py

seq2seq-translation.ipynb

taxi.ipynb

tiramisu-pytorch.ipynb

deeplearning_keras2's People

Contributors

roebius avatar

Watchers

 avatar  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.