TensorFlow-2.x-Tutorials

dragen1860 / TensorFlow-2.x-Tutorials

TensorFlow 2.x 入门实战教程与示例代码,涵盖 CNN、RNN、GAN、BERT 等经典模型,帮助开发者快速上手深度学习。

Jupyter Notebook 模型训练 数据科学 开发工具 TensorFlow 2.x 深度学习教程 实战示例 神经网络 BERT/GPT

为什么值得看

编辑点评

这是 TF 2.0 时代广受欢迎的教程仓库,示例丰富且代码可直接运行,覆盖从基础模型到前沿架构。适合想系统学习 TensorFlow 2 的初学者,也适合需要参考实现的研究者。注意部分示例基于 TF 2.x 早期版本,新版本 API 可能需要微调。

Star 趋势

近 7 日
  • Star 总数6,340
  • 今日新增+1
  • 7 日增速0%
  • Fork2,180

同类项目

同场景 · 模型训练 / 数据科学 / 开发工具

项目文档

来自 GitHub README · master 分支

TensorFlow 2.0 Tutorials

Our repo. is the Winner of ⚡#PoweredByTF 2.0 Challenge!.

Timeline: - Oct. 1, 2019: TensorFlow 2.0 Stable! - Aug. 24, 2019: TensorFlow 2.0 rc0 - Jun. 8, 2019: TensorFlow 2.0 Beta - Mar. 7, 2019: Tensorflow 2.0 Alpha - Jan. 11, 2019: TensorFlow r2.0 preview - Aug. 14, 2018: TensorFlow 2.0 is coming

Installation

make sure you are using python 3.x.

  • CPU install
pip install tensorflow -U
  • GPU install

Install CUDA 10.0(or after) and cudnn by yourself. and set LD_LIBRARY_PATH up.

pip install tensorflow-gpu  -U

Test installation:

In [2]: import tensorflow  as tf

In [3]: tf.__version__
Out[3]: '2.0.0'
In [4]: tf.test.is_gpu_available()
...
totalMemory: 3.95GiB freeMemory: 3.00GiB
...
Out[4]: True

配套TF2视频教程

TensorFlow 2.0的视频教程链接:深度学习与TensorFlow 2实战

Acknowledgement

  • 爱可可-爱生活 友情推荐

Includes

  • TensorFlow 2.0 Overview
  • TensorFlow 2.0 Basic Usage
  • Linear Regression
  • MNIST, FashionMNIST
  • CIFAR10
  • Fully Connected Layer
  • VGG16
  • Inception Network
  • ResNet18
  • Naive RNN
  • LSTM
  • ColorBot
  • Auto-Encoders
  • Variational Auto-Encoders
  • DCGAN
  • CycleGAN
  • WGAN
  • Pixel2Pixel
  • Faster RCNN
  • A2C
  • GPT
  • BERT
  • GCN

Feel free to submit a PR request to make this repo. more complete!

Refered Repos.

Our work is not built from scratch. Great appreciation to these open works!

  • https://github.com/madalinabuzau/tensorflow-eager-tutorials
  • https://github.com/herbiebradley/CycleGAN-Tensorflow
  • https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/eager/python/examples/pix2pix/pix2pix_eager.ipynb
  • https://github.com/moono/tf-eager-on-GAN
  • https://github.com/Viredery/tf-eager-fasterrcnn
  • https://github.com/github/gitignore/blob/master/Python.gitignore

文档抓取自 GitHub 仓库 README,版权归原作者所有;已过滤徽章等噪音并经安全消毒后展示。