recognize_garbage_photos #36
Binary file not shown.
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user