December 2018
Intermediate to advanced
268 pages
8h 23m
English
Building the internal model function allows us to build and compile the discriminator neural network. To build it, take the following steps:
def model(self): input_layer = Input(shape=self.SHAPE)
x = Convolution2D(96,3,3, subsample=(2,2), border_mode='same',activation='relu')(input_layer)x = Convolution2D(64,3,3, subsample=(2,2), border_mode='same',activation='relu')(x)
x = MaxPooling2D(pool_size=(3,3),border_mode='same')(x)
Read now
Unlock full access