text_plain_output_2.png application_vnd.jupyter.stderr_output_1.png
import numpy as np
import pandas as pd
from skimage import io, color, exposure, transform
import os
import glob
import h5py
from keras.preprocessing.image import ImageDataGenerator
from keras.models import Sequential, model_from_json
from keras.layers.core import Dense, Dropout, Activation, Flatten
from keras.layers.convolutional import Conv2D
from keras.layers.pooling import MaxPooling2D
from keras.optimizers import SGD
from keras.utils import np_utils
from keras.callbacks import LearningRateScheduler, ModelCheckpoint
from keras import backend as K
K.set_image_data_format('channels_first')
from matplotlib import pyplot as plt
import os
print(os.listdir('../input'))
NUM_CLASSES = 2
IMG_SIZE = 48