You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add optional keyword argument to Generator and Discriminator constructors called img_size. Assert that img_size is an integer power of 2
Rebuild sequential design of Generator to allow for variable img_size. Note that the sequential design features hidden convolutional layers, batch norms, and activations that reduce the channel size by half through the in_features / out_features and double the image size. These operations can be performed iteratively using a for loop that progressively increases the dimensionality of the modified latent vector into the image size.
Rebuild sequential design of Discriminator to allow for variable img_size. Note that the sequential design features hidden convolutional layers, batch norms, and activations that reduces both the channel size and image size by half. These operations can be performed iteratively using a for loop that progressively lowers the dimensionality of the input image into a single output node expressing the probability the image is real.
The text was updated successfully, but these errors were encountered:
Refer to following python script: https://github.com/suryajasper/SynthMining/blob/51f0f808d8dca6cf42f7eb808221438d7a15f926/synthesis_pipeline/condGAN/cond_DCGAN_network.py
img_size
. Assert thatimg_size
is an integer power of 2img_size
. Note that the sequential design features hidden convolutional layers, batch norms, and activations that reduce the channel size by half through thein_features
/out_features
and double the image size. These operations can be performed iteratively using a for loop that progressively increases the dimensionality of the modified latent vector into the image size.img_size
. Note that the sequential design features hidden convolutional layers, batch norms, and activations that reduces both the channel size and image size by half. These operations can be performed iteratively using a for loop that progressively lowers the dimensionality of the input image into a single output node expressing the probability the image is real.The text was updated successfully, but these errors were encountered: