recognize_garbage_photos #36

Merged
s473616 merged 4 commits from recognize_garbage_photos into master 2023-06-19 11:52:44 +02:00
2 changed files with 3 additions and 0 deletions
Showing only changes of commit 2d7ed16185 - Show all commits

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