Skip to content

Instantly share code, notes, and snippets.

@Exoceus
Created November 15, 2019 04:14
Show Gist options
  • Save Exoceus/b00ff6288613dfc040b9a8b1f3ccef44 to your computer and use it in GitHub Desktop.
Save Exoceus/b00ff6288613dfc040b9a8b1f3ccef44 to your computer and use it in GitHub Desktop.
# Number of workers for dataloader
workers = 4
# Batch size during training
batch_size = 128
# Spatial size of training images. All images will be resized to this
# size using a transformer.
image_size = 64
# Number of channels in the training images. For color images this is 3
nc = 3
# Size of z latent vector (i.e. size of generator input)
nz = 100
# Size of feature maps in generator
ngf = 64
# Size of feature maps in discriminator
ndf = 64
# Number of training epochs
num_epochs = 2500
# Learning rate for optimizers
lr = 0.0002
# Beta1 hyperparam for Adam optimizers
beta1 = 0.5
# Number of GPUs available. Use 0 for CPU mode.
ngpu = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment