neuron network model
This commit is contained in:
parent
c267515ee1
commit
2d7ed16185
Binary file not shown.
@ -1,8 +1,11 @@
|
|||||||
|
import os
|
||||||
from keras.preprocessing.image import ImageDataGenerator
|
from keras.preprocessing.image import ImageDataGenerator
|
||||||
from keras.models import Sequential
|
from keras.models import Sequential
|
||||||
from keras.layers import Conv2D, MaxPooling2D, Flatten, Dense
|
from keras.layers import Conv2D, MaxPooling2D, Flatten, Dense
|
||||||
|
|
||||||
train_data_dir = "garbage_photos"
|
train_data_dir = "garbage_photos"
|
||||||
|
location = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
|
||||||
|
train_data_dir = os.path.join(location, train_data_dir)
|
||||||
|
|
||||||
input_shape = (150, 150, 3)
|
input_shape = (150, 150, 3)
|
||||||
num_classes = 5
|
num_classes = 5
|
||||||
|
Loading…
Reference in New Issue
Block a user