December 2018
Intermediate to advanced
268 pages
8h 23m
English
There are two crucial methods in this class: the block and model methods. The following steps will show you how to create those methods:
def block(self,first_layer,filter_size=512,kernel_size=(3,3,3)): x = Conv3D(filters=filter_size, kernel_size=kernel_size, kernel_initializer='glorot_normal', bias_initializer='zeros', padding='same')(first_layer) x = BatchNormalization()(x) x = LeakyReLU(0.2)(x) return x
This block represents a common building block that we'll use throughout the discriminator model method.
def model(self):
Read now
Unlock full access