Skip to content

Instantly share code, notes, and snippets.

View imshashwataggarwal's full-sized avatar
🐨
Hello

Shashwat Aggarwal imshashwataggarwal

🐨
Hello
View GitHub Profile
@imshashwataggarwal
imshashwataggarwal / 2DCNN.py
Last active September 6, 2018 09:41
3D MNIST Image Classification
from __future__ import division, print_function, absolute_import
from keras.models import Sequential, model_from_json
from keras.layers import Dense, Dropout, Flatten, Conv2D, MaxPool2D, BatchNormalization
from keras.optimizers import RMSprop
from keras.preprocessing.image import ImageDataGenerator
from keras.utils.np_utils import to_categorical
from keras.callbacks import ReduceLROnPlateau, TensorBoard
import h5py
@imshashwataggarwal
imshashwataggarwal / 3DMNIST.py
Last active January 12, 2018 17:06
3D MNIST Image Classification
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from matplotlib import style
from matplotlib import animation
import seaborn as sns
import h5py
import os, sys
sys.path.append('data/')
@imshashwataggarwal
imshashwataggarwal / 3D_CNN.py
Created January 7, 2018 06:24
3D MNIST Image Classification
from __future__ import division, print_function, absolute_import
from keras.models import Sequential, model_from_json
from keras.layers import Dense, Dropout, Flatten, Conv3D, MaxPool3D, BatchNormalization, Input
from keras.optimizers import RMSprop
from keras.preprocessing.image import ImageDataGenerator
from keras.utils.np_utils import to_categorical
from keras.callbacks import ReduceLROnPlateau, TensorBoard
import h5py