Skip to content

Instantly share code, notes, and snippets.

@maltseasy
Created December 15, 2018 19:32
Show Gist options
  • Save maltseasy/9cfbaca0d6729954453e8b1edfc78c36 to your computer and use it in GitHub Desktop.
Save maltseasy/9cfbaca0d6729954453e8b1edfc78c36 to your computer and use it in GitHub Desktop.
# Import the libraries
import numpy as np
import keras
from keras import backend as K
from keras.layers.core import Dense, Dropout
from keras.optimizers import Adam
from keras.preprocessing.image import ImageDataGenerator
from keras.models import Model
from keras.callbacks import ReduceLROnPlateau, ModelCheckpoint
from sklearn.metrics import confusion_matrix
import itertools
import matplotlib.pyplot as plt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment