Created
July 26, 2020 03:53
-
-
Save itsuncheng/e45e915fbc79961959f9ea3c8e96d3a2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Root directory for dataset | |
| dataroot = "/home/ubuntu/cropped/" | |
| # Number of workers for dataloader | |
| workers = 2 | |
| # 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 = 200 | |
| # 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