December 2018
Intermediate to advanced
268 pages
8h 23m
English
Finally, we have everything set up to run the training code—these steps will allow you to create the files and run the code:
#!/usr/bin/env python3from train import Trainer# Command Line Argument MethodCUBE_SIDE=16EPOCHS = 100000BATCH = 64CHECKPOINT = 10LATENT_SPACE_SIZE = 256DATA_DIR = "/3d-mnist/full_dataset_vectors.h5"trainer = Trainer(side=CUBE_SIDE, \ latent_size=LATENT_SPACE_SIZE, \ epochs =EPOCHS,\ batch=BATCH,\ checkpoint=CHECKPOINT,\ data_dir = DATA_DIR)trainer.train()
This code simply defines the input needed for the training class and runs the training method for our GAN architecture.
Read now
Unlock full access