December 2018
Intermediate to advanced
268 pages
8h 23m
English
The training method is the heart of the training class - in this method, we will use all of the data we imported, train our models with the CycleGAN architecture, and check the results of our training as we go.
The following steps will show you the basic structure of how we train these models:
def train(self): for e in range(self.EPOCHS): X_train_A_temp = deepcopy(self.X_train_A) X_train_B_temp = deepcopy(self.X_train_B)
number_of_batches = len(self.X_train_A) ...
Read now
Unlock full access