You are on page 1of 1

10/8/2020 cifar10 with CNN for beginer | Kaggle

 
from __future__ import print_function
cifar10 withkeras
import CNN for  41  Copy and Edit 75
beginerfrom keras.datasets import cifar10

from keras.preprocessing.image
Python notebook using data from import ImageDataGenerator
CIFAR 10 -from
Objectkeras.models
Recognition in Images
import Sequential
· 6,753 views · 4mo ago ·  gpu
from keras.layers import Dense, Dropout, Activation, Flatte
n
from keras.layers import Conv2D, MaxPooling2D
import os

import numpy as np

import seaborn as sns


import matplotlib
import matplotlib.pyplot as plt

from sklearn.metrics import confusion_matrix, classificatio


n_report
import itertools

%matplotlib inline

Using TensorFlow backend.

Let's setting the models hyperparameters and others global parameters.

In [2]:
batch_size = 32 # The default batch size of keras.
num_classes = 10 # Number of class for the dataset
epochs = 100
data_augmentation = False

2.2 Import and preproces of data

We load the data and split it between train and test sets

  
Notebook Input Comments

https://www.kaggle.com/roblexnana/cifar10-with-cnn-for-beginer 1/1

You might also like