Skip to content

Modification in AlexNet and LeNet which scores an accuracy of 99.5% on the MNIST dataset.

Notifications You must be signed in to change notification settings

shakeel0232/DBAP-CNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

DBAP-CNN

Classification accuracy yielded by LeNet and AlexNet (in %) after incorporation of DBAP layer.The classifier used is softmax,SVM and Knn by both the models(LeNet and AlexNet). One can observe that the results are better than those achieved by the baseline models and competitive to the discrimination results of other popular deepmodels.

if you want to use other datasets change the import file form mnist to cifar10 and fashion-mnist from (import keras.datasets import.cifar10 ) and load (x_train, y_train), (x_test, y_test) = cifar10.load_data() and (x_train, y_train), (x_test, y_test) = fashion_mnist.load_data()

MNIST data set link http://yann.lecun.com/exdb/mnist/

To run code go to Google Colab (https://colab.research.google.com/notebooks/intro.ipynb#recent=true)

or

Set up your environment. Install Keras. Import libraries and modules. Load image data from MNIST. Preprocess input data for Keras. Preprocess class labels for Keras. Define model architecture. Compile model.

About

Modification in AlexNet and LeNet which scores an accuracy of 99.5% on the MNIST dataset.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published