neuron network model

This commit is contained in:
Pawel Felcyn 2023-06-17 18:33:23 +02:00
parent c267515ee1
commit 2d7ed16185
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@ -1,8 +1,11 @@
import os
from keras.preprocessing.image import ImageDataGenerator
from keras.models import Sequential
from keras.layers import Conv2D, MaxPooling2D, Flatten, Dense
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)
num_classes = 5