From c7dade982df8cb5d068a6ae1caee2a89dc8b443a Mon Sep 17 00:00:00 2001 From: stanleycai123 <32364021+stanleycai123@users.noreply.github.com> Date: Sun, 23 Jan 2022 12:09:33 -0500 Subject: [PATCH] Needs to change from "keras" to "tensorflow.keras" --- gan/gan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gan/gan.py b/gan/gan.py index b7033d44f6..c850cdd259 100644 --- a/gan/gan.py +++ b/gan/gan.py @@ -6,7 +6,7 @@ from keras.layers.advanced_activations import LeakyReLU from keras.layers.convolutional import UpSampling2D, Conv2D from keras.models import Sequential, Model -from keras.optimizers import Adam +from tensorflow.keras.optimizers import Adam import matplotlib.pyplot as plt