BunkerMinecraft commited on
Commit
0776f97
·
verified ·
1 Parent(s): ff6148b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -16,7 +16,11 @@ if os.path.exists("config.json"):
16
  class_names = ['battery', 'glass', 'metal', 'organic', 'paper', 'plastic']
17
 
18
  # ---- Build model architecture ----
19
- base_model = tf.keras.applications.EfficientNetB7(weights=None)
 
 
 
 
20
  model = models.Sequential([
21
  base_model,
22
  layers.GlobalAveragePooling2D(),
 
16
  class_names = ['battery', 'glass', 'metal', 'organic', 'paper', 'plastic']
17
 
18
  # ---- Build model architecture ----
19
+ base_model = tf.keras.applications.EfficientNetB7(
20
+ weights=None,
21
+ include_top=False,
22
+ input_shape=(224, 224, 3)
23
+ )
24
  model = models.Sequential([
25
  base_model,
26
  layers.GlobalAveragePooling2D(),