Advanced Deep Learning with R by Bharatendra Rai
Author:Bharatendra Rai [Bharatendra Rai]
Language: eng
Format: epub
Tags: COM042000 - COMPUTERS / Natural Language Processing, COM016000 - COMPUTERS / Computer Vision and Pattern Recognition, COM044000 - COMPUTERS / Neural Networks
Publisher: Packt Publishing
Published: 2019-12-17T10:43:29+00:00
At the time of training the autoencoder network, we will use these clean images as output. Next, we will specify the encoder model architecture.
Encoder model
For the encoder model, we will use three convolutional layers with 512, 512, and 256 filters, as shown in the following code:
# Encoder network
input_layer <- layer_input(shape = c(128,128,3))
encoder <- input_layer %>%
layer_conv_2d(filters = 512, kernel_size = c(3,3), activation = 'relu', padding = 'same') %>%
layer_max_pooling_2d(pool_size = c(2,2),padding = 'same') %>%
layer_conv_2d(filters = 512, kernel_size = c(3,3), activation = 'relu', padding = 'same') %>%
layer_max_pooling_2d(pool_size = c(2,2),padding = 'same') %>%
layer_conv_2d(filters = 256, kernel_size = c(3,3), activation = 'relu', padding = 'same') %>%
layer_max_pooling_2d(pool_size = c(2,2), padding = 'same')
summary(encoder)
Output
Tensor("max_pooling2d_22/MaxPool:0", shape=(?, 16, 16, 256), dtype=float32)
Here, the encoder network is 16 x 16 x 256 in size. We will keep the other features similar to the encoder models that we used in the previous two examples. Now, we will specify the decoder architecture of the autoencoder network.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Computer Vision & Pattern Recognition | Expert Systems |
Intelligence & Semantics | Machine Theory |
Natural Language Processing | Neural Networks |
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(7852)
Hadoop in Practice by Alex Holmes(5660)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5513)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(4507)
Functional Programming in JavaScript by Mantyla Dan(3723)
The Age of Surveillance Capitalism by Shoshana Zuboff(3422)
Big Data Analysis with Python by Ivan Marin(3011)
Blockchain Basics by Daniel Drescher(2891)
The Rosie Effect by Graeme Simsion(2708)
WordPress Plugin Development Cookbook by Yannick Lefebvre(2602)
Hands-On Machine Learning for Algorithmic Trading by Stefan Jansen(2519)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2478)
Dawn of the New Everything by Jaron Lanier(2438)
Test-Driven Development with Java by Alan Mellor(2383)
The Art Of Deception by Kevin Mitnick(2298)
Data Augmentation with Python by Duc Haba(2228)
Rapid Viz: A New Method for the Rapid Visualization of Ideas by Kurt Hanks & Larry Belliston(2195)
Human Dynamics Research in Smart and Connected Communities by Shih-Lung Shaw & Daniel Sui(2178)
The Infinite Retina by Robert Scoble Irena Cronin(2177)