Skip to content

Instantly share code, notes, and snippets.

@obeshor
Created November 13, 2020 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save obeshor/0edc432778d2ef29b86498b05db948ed to your computer and use it in GitHub Desktop.
Save obeshor/0edc432778d2ef29b86498b05db948ed to your computer and use it in GitHub Desktop.
fig, ax = plt.subplots()
losses = np.array(losses)
plt.plot(losses.T[0], label='Discriminator', alpha=0.5)
plt.plot(losses.T[1], label='Generator', alpha=0.5)
plt.title("Training Losses")
plt.legend()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment