PacktPublishing/Advanced-Deep-Learning-with-Keras — công cụ AI — đang có 2.0k sao GitHub trong nhóm AI Tools. Advanced Deep Learning with Keras, published by Packt
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Advanced Deep Learning with TensorFlow 2 and Keras (Updated for 2nd Edition)
This is the code repository for Advanced Deep Learning with TensorFlow 2 and Keras, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
Please note that the code examples have been updated to support TensorFlow 2.0 Keras API only.
About the Book
Advanced Deep Learning with TensorFlow 2 and Keras, Second Edition is a completely updated edition of the bestselling guide to the advanced deep learning techniques available today. Revised for TensorFlow 2.x, this edition introduces you to the practical side of deep learning with new chapters on unsupervised learning using mutual information, object detection (SSD), and semantic segmentation (FCN and PSPNet), further allowing you to create your own cutting-edge AI projects.
Using Keras as an open-source deep learning library, the book features hands-on projects that show you how to create more effective AI with the most up-to-date techniques.
Starting with an overview of multi-layer perceptrons (MLPs), convolutional neural networks (CNNs), and recurrent neural networks (RNNs), the book then introduces more cutting-edge techniques as you explore deep neural network architectures, including ResNet and DenseNet, and how to create autoencoders. You will then learn about GANs, and how they can unlock new levels of AI performance.
Next, you’ll discover how a variational autoencoder (VAE) is implemented, and how GANs and VAEs have the generative power to synthesize data that can be extremely convincing to humans. You'll also learn to implement DRL such as Deep Q-Learning and Policy Gradient Methods, which are critical to many modern results in AI.
Related Products
Deep Reinforcement Learning Hands-On
Deep Learning with Keras
Reinforcement Learning with TensorFlow
Installation
It is recommended to run within conda environment. Pls download Anacoda from: Anaconda. To install anaconda:
sh <name-of-downloaded-Anaconda3-installer>
A machine with at least 1 NVIDIA GPU (1060 or better) is required. The code examples have been tested on 1060, 1080Ti, RTX 2080Ti, V100, RTX Quadro 8000 on Ubuntu 18.04 LTS. Below is a rough guide to install NVIDIA driver and CuDNN to enable GPU support.
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo ubuntu-drivers autoinstall
sudo reboot
nvidia-smi
At the time of writing, nvidia-smishows the NVIDIA driver version is 440.64 and CUDA version is 10.2.
We are almost there. The last set of packages must be installed as follows. Some steps might require sudo access.
Test if a simple model can be trained without errors:
cd chapter1-keras-quick-tour
python3 mlp-mnist-1.3.2.py
The final output shows the accuracy of the trained model on MNIST test dataset is about 98.2%.
Alternative TensorFlow Installation
If you are having problems with CUDA libraries (ie tf could not load or find libcudart.so.10.X), TensorFlow and CUDA libraries can be installed together using conda:
Advanced Deep Learning with TensorFlow 2 and Keras code examples used in the book.
Chapter 1 - Introduction
MLP on MNIST
CNN on MNIST
RNN on MNIST
Chapter 2 - Deep Networks
Functional API on MNIST
Y-Network on MNIST
ResNet v1 and v2 on CIFAR10
DenseNet on CIFAR10
Chapter 3 - AutoEncoders
Denoising AutoEncoders
Sample outputs for random digits:
Colorization AutoEncoder
Sample outputs for random cifar10 images:
Chapter 4 - Generative Adversarial Network (GAN)
Deep Convolutional GAN (DCGAN)
Radford, Alec, Luke Metz, and Soumith Chintala. "Unsupervised representation learning with deep convolutional generative adversarial networks." arXiv preprint arXiv:1511.06434 (2015).
Sample outputs for random digits:
Conditional (GAN)
Mirza, Mehdi, and Simon Osindero. "Conditional generative adversarial nets." arXiv preprint arXiv:1411.1784 (2014).
Mao, Xudong, et al. "Least squares generative adversarial networks." 2017 IEEE International Conference on Computer Vision (ICCV). IEEE, 2017.
Sample outputs for random digits:
Auxiliary Classifier GAN (ACGAN)
Odena, Augustus, Christopher Olah, and Jonathon Shlens. "Conditional image synthesis with auxiliary classifier GANs. Proceedings of the 34th International Conference on Machine Learning, Sydney, Australia, PMLR 70, 2017."
Sample outputs for digits 0 to 9:
Chapter 6 - GAN with Disentangled Latent Representations
Information Maximizing GAN (InfoGAN)
Chen, Xi, et al. "Infogan: Interpretable representation learning by information maximizing generative adversarial nets."
Advances in Neural Information Processing Systems. 2016.
Sample outputs for digits 0 to 9:
Stacked GAN
Huang, Xun, et al. "Stacked generative adversarial networks." IEEE Conference on Computer Vision and Pattern Recognition (CVPR). Vol. 2. 2017
Sample outputs for digits 0 to 9:
Chapter 7 - Cross-Domain GAN
CycleGAN
Zhu, Jun-Yan, et al. "Unpaired Image-to-Image Translation Using Cycle-Consistent Adversarial Networks." 2017 IEEE International Conference on Computer Vision (ICCV). IEEE, 2017.
Sample outputs for random cifar10 images:
Sample outputs for MNIST to SVHN:
Chapter 8 - Variational Autoencoders (VAE)
VAE MLP MNIST
VAE CNN MNIST
Conditional VAE and Beta VAE
Kingma, Diederik P., and Max Welling. "Auto-encoding Variational Bayes." arXiv preprint arXiv:1312.6114 (2013).
Sohn, Kihyuk, Honglak Lee, and Xinchen Yan. "Learning structured output representation using deep conditional generative models." Advances in Neural Information Processing Systems. 2015.
I. Higgins, L. Matthey, A. Pal, C. Burgess, X. Glorot, M. Botvinick, S. Mohamed, and A. Lerchner. β-VAE: Learning basic visual concepts with a constrained variational framework. ICLR, 2017.
Generated MNIST by navigating the latent space:
Chapter 9 - Deep Reinforcement Learning
Q-Learning
Q-Learning on Frozen Lake Environment
DQN and DDQN on Cartpole Environment
Mnih, Volodymyr, et al. "Human-level control through deep reinforcement learning." Nature 518.7540 (2015): 529
DQN on Cartpole Environment:
Chapter 10 - Policy Gradient Methods
REINFORCE, REINFORCE with Baseline, Actor-Critic, A2C
Sutton and Barto, Reinforcement Learning: An Introduction
Mnih, Volodymyr, et al. "Asynchronous methods for deep reinforcement learning." International conference on machine learning. 2016.
Policy Gradient on MountainCar Continuous Environment:
Chapter 11 - Object Detection
Single-Shot Detection
Single-Shot Detection on 3 Objects
Chapter 12 - Semantic Segmentation
FCN
PSPNet
Semantic Segmentation
Chapter 13 - Unsupervised Learning using Mutual Information
Invariant Information Clustering
MINE: Mutual Information Estimation
MINE
Citation
If you find this work useful, please cite:
@book{atienza2020advanced,
title={Advanced Deep Learning with TensorFlow 2 and Keras: Apply DL, GANs, VAEs, deep RL, unsupervised learning, object detection and segmentation, and more},
author={Atienza, Rowel},
year={2020},
publisher={Packt Publishing Ltd}
}
Đọc thêm về PacktPublishing/Advanced-Deep-Learning-with-Keras ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/PacktPublishing/Advanced-Deep-Learning-with-Keras là nguồn chính thức.
PacktPublishing/Advanced-Deep-Learning-with-Keras có bao nhiêu sao?
PacktPublishing/Advanced-Deep-Learning-with-Keras có 2.0k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/PacktPublishing/Advanced-Deep-Learning-with-Keras. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
PacktPublishing/Advanced-Deep-Learning-with-Keras có những chủ đề gì?
GitHub topics của PacktPublishing/Advanced-Deep-Learning-with-Keras: "autoencoder", "deep-learning", "gan", "keras", "reinforcement-learning", "vae". TopGit xếp repo vào nhóm AI Tools.
PacktPublishing/Advanced-Deep-Learning-with-Keras có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho PacktPublishing/Advanced-Deep-Learning-with-Keras. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
PacktPublishing/Advanced-Deep-Learning-with-Keras còn đang phát triển không?
Commit gần nhất trên PacktPublishing/Advanced-Deep-Learning-with-Keras là 8 tháng trước (theo timestamp GitHub). Repo có 1.0k fork — một chỉ báo về mức độ quan tâm của cộng đồng.
PacktPublishing/Advanced-Deep-Learning-with-Keras dùng license gì?
PacktPublishing/Advanced-Deep-Learning-with-Keras phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
PacktPublishing/Advanced-Deep-Learning-with-Keras viết bằng ngôn ngữ gì?
PacktPublishing/Advanced-Deep-Learning-with-Keras chủ yếu viết bằng Python. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về Advanced-Deep-Learning-with-Keras?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về Advanced-Deep-Learning-with-Keras.