Giter VIP home page Giter VIP logo

dltfpt's Introduction

Deep Learning with TensorFlow, Keras, and PyTorch

This repository is home to the code that accompanies Jon Krohn's Deep Learning with TensorFlow, Keras, and PyTorch series of video tutorials.

There are three sets of video tutorials in the series:

  1. The eponymous Deep Learning with TensorFlow, Keras, and PyTorch (released in Feb 2020)
  2. Deep Learning for Natural Language Processing, 2nd Ed. (Feb 2020)
  3. Machine Vision, GANs, and Deep Reinforcement Learning (Mar 2020)

The above order is the recommended sequence in which to undertake these tutorials. That said, the first in the series provides a strong foundation for either of the other two.

Taken all together, the series -- over 18 total hours of instruction and hands-on demos -- parallels the entirety of the content in the book Deep Learning Illustrated. This means that the videos introduce all of deep learning:

  • What deep neural networks are and how they work, both mathematically and using the most popular code libraries
  • Machine vision, primarily with convolutional neural networks
  • Natural language processing, including with recurrent neural networks
  • Artistic creativity with generative adversarial networks (GANs)
  • Complex, sequential decision-making with deep reinforcement learning

These video tutorials also includes some extra content that is not available in the book, such as:

  • Detailed interactive examples involving training and testing deep learning models in PyTorch
  • How to generate novel sequences of natural language in the style of your training data
  • High-level discussion of transformer-based natural-language-processing models like BERT, ELMo, and GPT-3
  • Detailed interactive examples of training advanced machine vision models (image segmentation, object detection)
  • All hands-on code demos involving TensorFlow or Keras have been updated to TensorFlow 2

Installation

Installation instructions for running the code in this repository can be found in the installation directory.

Notebooks

There are dozens of meticulously crafted Jupyter notebooks of code associated with these videos. All of them can be found in this directory.

Below is a breakdown of the lessons covered across the videos, including their duration and associated notebooks.

Deep Learning with TensorFlow, Keras, and PyTorch

Deep Learning for Natural Language Processing

Machine Vision, GANs, and Deep Reinforcement Learning

You've reached the bottom of this page! As a reward, here's a myopic trilobite created by Aglaé Bassens, illustrator of the book Deep Learning Illustrated:

dltfpt's People

Contributors

jonkrohn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dltfpt's Issues

MarkupSafe problem

I am getting the following message when starting the container. The prescribed fix is to downgrade the markupsafe version to 2.0.1, which will not work due to werkzeug 2.2.2 has requirement MarkupSafe>=2.1.1, but you'll have markupsafe 2.0.1 which is incompatible

  File "/opt/conda/bin/jupyter-notebook", line 7, in <module>
    from notebook.notebookapp import main
  File "/opt/conda/lib/python3.7/site-packages/notebook/notebookapp.py", line 41, in <module>
    from jinja2 import Environment, FileSystemLoader
  File "/opt/conda/lib/python3.7/site-packages/jinja2/__init__.py", line 33, in <module>
    from jinja2.environment import Environment, Template
  File "/opt/conda/lib/python3.7/site-packages/jinja2/environment.py", line 15, in <module>
    from jinja2 import nodes
  File "/opt/conda/lib/python3.7/site-packages/jinja2/nodes.py", line 19, in <module>
    from jinja2.utils import Markup
  File "/opt/conda/lib/python3.7/site-packages/jinja2/utils.py", line 647, in <module>
    from markupsafe import Markup, escape, soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/opt/conda/lib/python3.7/site-packages/markupsafe/__init__.py)

Host system is Ubuntu 20.04.5 LTS.

pull image got an issue

When I was running: docker run -v $(pwd):/home/jovyan/work -it --rm -p 8888:8888 dltfpt-stack
I got an error:

Unable to find image 'dltfpt-stack:latest' locally
docker: Error response from daemon: pull access denied for dltfpt-stack, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.

I previously login to docker using "docker login", but still got the error

torchvision=0.4.0 causes docker image build fail

λ DLTFpT > sudo docker build -t dltfpt-stack .                                                                              git master
Password:
[+] Building 137.5s (7/14)
 => [internal] load build definition from Dockerfile                                                                              0.0s
 => => transferring dockerfile: 37B                                                                                               0.0s
 => [internal] load .dockerignore                                                                                                 0.0s
 => => transferring context: 2B                                                                                                   0.0s
 => [internal] load metadata for docker.io/jupyter/scipy-notebook:2ce7c06a61a1                                                    1.4s
 => [ 1/11] FROM docker.io/jupyter/scipy-notebook:2ce7c06a61a1@sha256:c2df5ef3c25702b7b8c54489ee9736a64ab431307b5416648226974e61  0.0s
 => CACHED [ 2/11] RUN pip install tensorflow==2.0.0                                                                              0.0s
 => CACHED [ 3/11] RUN pip install https://download.pytorch.org/whl/cpu/torch-1.0.1.post2-cp37-cp37m-linux_x86_64.whl             0.0s
 => ERROR [ 4/11] RUN pip install torchvision==0.4.0                                                                            135.9s
------
 > [ 4/11] RUN pip install torchvision==0.4.0:
#7 1.701 Collecting torchvision==0.4.0
#7 2.018   Downloading https://files.pythonhosted.org/packages/51/83/2d77d040e34bd8f70dcb4770f7eb7d0aa71e07738abf6831be863ade00db/torchvision-0.4.0-cp37-cp37m-manylinux1_x86_64.whl (8.8MB)
#7 3.976 Requirement already satisfied: pillow>=4.1.1 in /opt/conda/lib/python3.7/site-packages (from torchvision==0.4.0) (6.1.0)
#7 3.981 Requirement already satisfied: numpy in /opt/conda/lib/python3.7/site-packages (from torchvision==0.4.0) (1.17.0)
#7 3.984 Requirement already satisfied: six in /opt/conda/lib/python3.7/site-packages (from torchvision==0.4.0) (1.12.0)
#7 3.987 Collecting torch==1.2.0 (from torchvision==0.4.0)
#7 4.090   Downloading https://files.pythonhosted.org/packages/05/65/5248be50c55ab7429dd5c11f5e2f9f5865606b80e854ca63139ad1a584f2/torch-1.2.0-cp37-cp37m-manylinux1_x86_64.whl (748.9MB)
#7 135.7 Killed
------
executor failed running [/bin/sh -c pip install torchvision==0.4.0]: exit code: 137

Tried changing it to torchvision=0.3.2, which makes for a successful docker image build, although I'm having issues launching the notebook. Continuing debugging.

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.