### If you'd like to use **PyTorch**, no worries, I made a new **PyTorch Tutorial** just like Tensorflow. Here is the link: [https://github.com/MorvanZhou/PyTorch-Tutorial](https://github.com/MorvanZhou/PyTorch-Tutorial)

# Tensorflow 2017 Tutorials

**Tensorflow 2+ has been released, [here](https://github.com/MorvanZhou/Tensorflow2-Tutorial) is my quick TF2+ tutorial codes**


In these tutorials, we will build our first Neural Network and try to build some advanced Neural Network architectures developed recent years.

All methods mentioned below have their video and text tutorial in Chinese. Visit [莫烦 Python](https://mofanpy.com) for more.


* Tensorflow basic
  * [Session](tutorial-contents/201_session.py)
  * [Placeholder](tutorial-contents/202_placeholder.py)
  * [Variable](tutorial-contents/203_variable.py)
  * [Activation](tutorial-contents/204_activation.py)
* Build your first network
  * [Regression](tutorial-contents/301_simple_regression.py)
  * [Classification](tutorial-contents/302_simple_classification.py)
  * [Save and reload](tutorial-contents/303_save_reload.py)
  * [Optimizers](tutorial-contents/304_optimizer.py)
  * [Tensorboard](tutorial-contents/305_tensorboard.py)
  * [Dataset](tutorial-contents/306_dataset.py)
* Advanced neural network
  * [CNN](tutorial-contents/401_CNN.py)
  * [RNN-Classification](tutorial-contents/402_RNN_classification.py)
  * [RNN-Regression](tutorial-contents/403_RNN_regression.py)
  * [AutoEncoder](tutorial-contents/404_AutoEncoder.py)
  * [DQN Reinforcement Learning](tutorial-contents/405_DQN_reinforcement_learning.py)
  * [GAN (Generative Adversarial Nets)](tutorial-contents/406_GAN.py) / [Conditional GAN](tutorial-contents/406_conditional_GAN.py)
  * [Transfer Learning](tutorial-contents/407_transfer_learning.py)
* Others (WIP)
  * [Dropout](tutorial-contents/501_dropout.py)
  * [Batch Normalization](tutorial-contents/502_batch_normalization.py)
  * [Visualize Gradient Descent](tutorial-contents/503_visualize_gradient_descent.py)
  * [Distributed training](tutorial-contents/504_distributed_training.py)

### [Regression](tutorial-contents/301_simple_regression.py)

<a href="tutorial-contents/301_simple_regression.py">
    <img class="course-image" src="https://mofanpy.com/static/results/torch/1-1-2.gif">
</a>

### [Classification](tutorial-contents/302_simple_classification.py)

<a href="tutorial-contents/302_simple_classification.py">
    <img class="course-image" src="https://mofanpy.com/static/results/torch/1-1-3.gif">
</a>

### [CNN](tutorial-contents/401_CNN.py)
<a href="tutorial-contents/401_CNN.py">
    <img class="course-image" src="https://mofanpy.com/static/results/torch/4-1-2.gif" >
</a>

### [RNN](tutorial-contents/403_RNN_regression.py)

<a href="tutorial-contents/403_RNN_regression.py">
    <img class="course-image" src="https://mofanpy.com/static/results/torch/4-3-1.gif" >
</a>

### [Autoencoder](tutorial-contents/404_AutoEncoder.py)

<a href="tutorial-contents/404_AutoEncoder.py">
    <img class="course-image" src="https://mofanpy.com/static/results/torch/4-4-1.gif" >
</a>

<a href="tutorial-contents/404_AutoEncoder.py">
    <img class="course-image" src="https://mofanpy.com/static/results/torch/4-4-2.gif" >
</a>

### [GAN (Generative Adversarial Nets)](tutorial-contents/406_GAN.py)
<a href="tutorial-contents/406_GAN.py">
    <img class="course-image" src="https://mofanpy.com/static/results/torch/4-6-1.gif" >
</a>

### [Dropout](tutorial-contents/501_dropout.py)
<a href="tutorial-contents/501_dropout.py">
    <img class="course-image" src="https://mofanpy.com/static/results/torch/5-3-1.gif" >
</a>

### [Batch Normalization](tutorial-contents/502_batch_normalization.py)
<a href="tutorial-contents/502_batch_normalization.py">
    <img class="course-image" src="https://mofanpy.com/static/results/torch/5-4-2.gif" >
</a>

### [Visualize Gradient Descent](tutorial-contents/503_visualize_gradient_descent.py)
<a href="tutorial-contents/503_visualize_gradient_descent.py">
    <img class="course-image" src="https://mofanpy.com/static/results/tensorflow/5_15_01.gif" >
</a>

# Donation

*If this does help you, please consider donating to support me for better tutorials! Any contribution is greatly appreciated!*

<div >
  <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&amp;business=morvanzhou%40gmail%2ecom&amp;lc=C2&amp;item_name=MorvanPython&amp;currency_code=AUD&amp;bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted">
    <img style="border-radius: 20px;  box-shadow: 0px 0px 10px 1px  #888888;"
         src="https://www.paypalobjects.com/webstatic/en_US/i/btn/png/silver-pill-paypal-44px.png"
         alt="Paypal"
         height="auto" ></a>
</div>

<div>
  <a href="https://www.patreon.com/morvan">
    <img src="https://mofanpy.com/static/img/support/patreon.jpg"
         alt="Patreon"
         height=120>
  </a>
</div>