Coder Social home page Coder Social logo

jackonyang / hands-on-deep-learning-using-tensorflow-2.0 Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 3.0 51.28 MB

重读 CNN 网络的经典论文,并用 tensorflow 2.0 手撸一遍经典模型,感受一下实测数据

License: MIT License

Jupyter Notebook 100.00%

hands-on-deep-learning-using-tensorflow-2.0's Introduction

hands-on-deep-learning-using-tensorflow-2.0

重读 CNN 网络的经典论文,并用 tensorflow 2.0 手撸一遍经典模型,感受一下实测数据

硬件环境: GTX 1080(GPU) + i7 7700k(CPU) + 16G Memory

1. 从 AlexNet 到 ResNet -- 越来越深的 CNN 模型

注:LeNet5 过于简单,复现优先级低。

1.1 AlexNet -- CNN 网络奠基工作的代表

code and result: AlexNet on MNIST and Cifar10 Datasets

观点:AlexNet 在 cifar10 上展示了 CNN 网络的潜力。70% 的正确率,在容错率较高的场景下,具备一定的使用价值。

1.2 Vgg -- 暴力加深的收官之作

code and result: VggNet on Cifar10 Datasets

观点:

  1. VggNet 成功的把网络做的更深了,模型的算法性能也有了不错的提升(70% - 78%)
  2. 运行时间增加 10 倍,也很明显。计算的能效比已经不那么高了。

1.3 ResNet -- 弹性加深

code and result: ResNet on Cifar10 Datasets

观点:

  1. ResNet 的性能和能效比,都好于 VggNet。碾压式的进步。
  2. 当前实现版本,过拟合很严重,是改进的重点。

环境搭建

Ubuntu 18.04 搭建 cuda10.1+tensorflow2.1+python3.7

$ pip install -r requirements.txt

背景知识学习路径

  1. Tensorflow 2.0 Tutorials: https://www.tensorflow.org/tutorials
  2. Keras Introduction: https://keras.io/
  3. Getting started with the Keras Sequential model: https://keras.io/getting-started/sequential-model-guide/
  4. Getting started with the Keras functional API: https://keras.io/getting-started/functional-api-guide/

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.