Coder Social home page Coder Social logo

ahmedbesbes / understanding-deep-convolutional-neural-networks-with-a-practical-use-case-in-tensorflow-and-keras Goto Github PK

View Code? Open in Web Editor NEW
45.0 5.0 31.0 9.85 MB

What makes convnets so powerful at image classification?

Home Page: https://ahmedbesbes.com/understanding-deep-convolutional-neural-networks-with-a-practical-use-case-in-tensorflow-and-keras.html

Jupyter Notebook 100.00%
deep-learning convolutional-neural-networks python tensorflow keras image-classification kaggle-cats kaggle deep-learning-tutorial keras-tutorials convolution-filter convnet article dataset kdd computer-vision blog data-science

understanding-deep-convolutional-neural-networks-with-a-practical-use-case-in-tensorflow-and-keras's Introduction

Understanding deep Convolutional Neural Networks with a practical use-case in Tensorflow and Keras

This jupyter notebook reassembles the code of this article

It also contains a trained CNN model, so that you can use it yourself and test it.

Summary of this article

This post is a 4-part tutorial where I:

  1. Present an image dataset from the Cat vs. Dog Kaggle competition and explain the complexity of the image classification task
  2. Go over the details about Convolutional Neural Nets, explaining their inner meachanisms and the reason why they perform better than fully connected networks.
  3. Set up a deep learning dedicated environment on a powerful GPU-based EC2 instance from Amazon Web Services (AWS)
  4. Train two deep learning models: one from scratch in an end-to-end pipeline using Keras and Tensorflow, and another one by using a pre-trained network on a large dataset.

These 4 parts are independent.

If you're looking to understand the theory behind convnets please refer to the article link posted above.

Environment setup:

  1. Use Python 3.6: No hassle, intall the Conda distribution that encapsulates the PyData stack (SciPy, Pandas, Matplotlib, etc.). Here's the installation link

  2. Install the lastest version of Tensorflow: https://www.tensorflow.org/install/install_windows I used a windows machine, same applies for Linux or Mac OS X

  3. Install the following python dependencies:

pip install keras
pip install tqdm
pip install keras-tqdm
conda install -c conda-forge opencv 
  1. [Optional] Dependencies to obtain GraphViz plots of the CNN architectures:

    1. Install Graphiz: http://www.graphviz.org/Download..php
    2. Add the Graphiz binaries to you PATH
    3. Install Graphiz Python bindings
    pip install graphviz  
    pip install pydot  

understanding-deep-convolutional-neural-networks-with-a-practical-use-case-in-tensorflow-and-keras's People

Contributors

ahmedbesbes 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

Watchers

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