Skip to content

Instantly share code, notes, and snippets.

@jogam5
Last active April 20, 2022 22:43
Show Gist options
  • Save jogam5/ce485cfb445e255a0e48930e15895b7a to your computer and use it in GitHub Desktop.
Save jogam5/ce485cfb445e255a0e48930e15895b7a to your computer and use it in GitHub Desktop.
# For the best DCGAN generator
# 1. covid small
# 2. rsna_10
# 3. rsna_50
noise = np.random.normal(0, 1, (100, 128))
gen_sample = generator.predict([noise, label]) # e.g. label is 0 or 1 in RSNA
# gen_sample in keras outputs (100, 64, 64, 3)
# e.g. for rsna_10 i need two vectors (100, 64, 64, 3), one for each lass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment