December 2018
Intermediate to advanced
268 pages
8h 23m
English
At the end of each of these classes, we need to insert helper functions to complete simple functionality, such as displaying a summary, saving a model file, and saving a model graphic.
To add this functionality to the Discriminator class, take the following steps:
def summary(self): return self.Discriminator.summary()
def save_model(self,epoch,batch): self.Discriminator.save('/out/'+self.NAME+'_Epoch_'+epoch+'_Batch_'+batch+'model.h5')
Read now
Unlock full access