zoukankan      html  css  js  c++  java
  • cs20_1-2

    1. Why Tensorflow

    1. key idea:

      • For a framework to be useful in production:

        it needs to be efficient, scalable, and maintainable.

      • For research:

        the framework needs to have flexible operations that can be combined in novel ways.

      Alternative frameworks are either flexible enough for research but less scalable, such as Chainer and PyTorch, or scalable but less flexible, such as Caffe and MXNet. TensorFlow is both flexible and scalable, allowing users to streamline from research into production.

    2. summary:

      • Python API
      • Portability: deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device with a single API
      • Flexibility: from Raspberry Pi, Android, Windows, iOS, Linux to server farms
      • Visualization (TensorBoard is da bomb)
      • Save and restore models, graphs
      • Auto-differentiation autodiff (no more taking derivatives by hand. Yay)
      • Large community (~300k commits, ~85k repositories)
      • Awesome projects already using TensorFlow

    2. Some cool projects using Tensorflow

    1. WaveNet: A Generative Model for Raw Audio (DeepMind, 2016)
    2. Dermatologist-level classification of skin cancer with deep neural networks (Esteva, Kuprel, et al., Nature 2017)
    3. Magenta(https://magenta.tensorflow.org/) (Google)

    3. High level APIs on top of TensorFlow

    1. Keras, TFLearn, and Sonnet

    2. But

      However, the primary purpose of TensorFlow is not to provide out-of-the-box machine learning solutions. Instead, TensorFlow provides an extensive suite of functions and classes that allow users to define models from scratch. This is more complicated, but offers much more flexibility. You can build almost any architecture you can think of in TensorFlow.

    4. Resources

    We won’t be using any textbook for this class. The library is changing so fast that it’s hard for any book to keep up. We will be using mainly lecture notes and lecture slides. There are several resources that you might want to refer to become fluent in TensorFlow.

    The official documentations

    TensorFlow official sample models

    StackOverflow should be your first port of call should you run into any problem with TensorFlow

    There are also several introductory books on TensorFlow.

    • Aurélien Géron’s Hands-On Machine Learning with Scikit-Learn and TensorFlow (O’Reilly, March 2017)
    • François Chollet’s Deep Learning with Python (Manning Publications, November 2017)
    • Nishant Shukla’s Machine Learning with TensorFlow (Manning Publications, January 2018)
    • Lieder et al.’s Learning TensorFlow A Guide to Building Deep Learning Systems (O’Reilly, August 2017)

    5. TensorFlow Basics

    The first thing we need to understand about TensorFlow is its computation graph approach. Any TensorFlow program consists of two phases:

    Phase 1: assemble a graph

    Phase 2: use a session to execute operations in the graph.

    Note that this might change in the future with TensorFlow’s eager mode, currently experimental.

  • 相关阅读:
    复利计算
    实验四 主存空间的分配和回收
    0526 Sprint1个人总结 & 《构建之法》第八、九、十章
    实验三 进程调度模拟程序
    0427 scrum & 读后感
    0415 评论
    0414 结对2.0
    汉堡包
    0406 结对编程总结
    读《构建之法》第四章有感
  • 原文地址:https://www.cnblogs.com/LS1314/p/10366194.html
Copyright © 2011-2022 走看看