Created
July 25, 2019 05:00
-
-
Save MortisHuang/a834b19160ad0410f394fb20641f14bc to your computer and use it in GitHub Desktop.
This file contains 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
import numpy as np | |
import os | |
from keras.datasets import mnist | |
from keras.layers import Dense, Reshape, Flatten | |
from keras.layers import BatchNormalization | |
from keras.layers.advanced_activations import LeakyReLU | |
from keras.models import Sequential | |
from keras.optimizers import Adam | |
import matplotlib.pyplot as plt | |
plt.switch_backend('agg') # allows code to run without a system DISPLAY |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment