Skip to content

Instantly share code, notes, and snippets.

@tims457
tims457 / gan_training_ex.py
Created June 29, 2021 01:49
basic GAN training loop in tensorflow
for epoch in range(epochs):
for batch, (real_x, _) in enumerate(train_data.batch(batch_size)):
# train the discriminator
for disc_steps in range(kd):
real_x = tf.convert_to_tensor(real_x)
with tf.GradientTape() as disc_tape:
@tims457
tims457 / 0-startup-overview.md
Created April 3, 2021 20:53 — forked from dideler/0-startup-overview.md
Startup Engineering notes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.