January 2019
Intermediate to advanced
316 pages
8h 16m
English
Before starting the training, we need to specify the essential hyperparameters. Hyperparameters are values that don't change during the training. Let's do this first:
data_dir = "Specify your dataset directory here/Data/birds"train_dir = data_dir + "/train"test_dir = data_dir + "/test"image_size = 64batch_size = 64z_dim = 100stage1_generator_lr = 0.0002stage1_discriminator_lr = 0.0002stage1_lr_decay_step = 600epochs = 1000condition_dim = 128embeddings_file_path_train = train_dir + "/char-CNN-RNN-embeddings.pickle"embeddings_file_path_test = test_dir + "/char-CNN-RNN-embeddings.pickle"filenames_file_path_train = train_dir + "/filenames.pickle"filenames_file_path_test = test_dir + "/filenames.pickle"class_info_file_path_train ...
Read now
Unlock full access