Skip to content

Instantly share code, notes, and snippets.

@Samurnihs
Samurnihs / CNN4
Created September 27, 2018 11:40
from tensorflow.python.keras.preprocessing.image import ImageDataGenerator
from tensorflow.python.keras.preprocessing import image
from tensorflow.python.keras.models import Sequential
from tensorflow.python.keras.layers import Activation, Dropout, Flatten, Dense
from tensorflow.python.keras.applications import VGG19
from tensorflow.python.keras.optimizers import Adam
import matplotlib.pyplot as plt
from scipy.misc import toimage
%matplotlib inline
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.