Spaces:
Runtime error
Runtime error
scontess
commited on
Commit
·
33582f7
1
Parent(s):
d5a3bd1
pippofinal
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
@@ -82,7 +82,7 @@ for i, sample in enumerate(dataset):
|
|
82 |
if i >= 300: # Prende solo 300 immagini
|
83 |
break
|
84 |
|
85 |
-
image = tf.image.resize(image, (
|
86 |
image_list.append(image.numpy())
|
87 |
label_list.append(np.array(sample["label"]))
|
88 |
|
|
|
82 |
if i >= 300: # Prende solo 300 immagini
|
83 |
break
|
84 |
|
85 |
+
image = tf.image.resize(image, (64, 64)) / 255.0 # Normalizzazione
|
86 |
image_list.append(image.numpy())
|
87 |
label_list.append(np.array(sample["label"]))
|
88 |
|