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 [Link] import cifar10
from [Link]
Python notebook using data from import ImageDataGenerator
CIFAR 10 -from
[Link]
Recognition in Images
import Sequential
· 6,753 views · 4mo ago · gpu
from [Link] import Dense, Dropout, Activation, Flatte
n
from [Link] import Conv2D, MaxPooling2D
import os
import numpy as np
import seaborn as sns
import matplotlib
import [Link] as plt
from [Link] 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
[Link] 1/1