Spaces:
Runtime error
Runtime error
image size
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ with open(output_path,'r') as file:
|
|
| 18 |
LABELS = [x.strip() for x in file.readlines()]
|
| 19 |
|
| 20 |
num_classes = 4000
|
| 21 |
-
IMG_SIZE =
|
| 22 |
|
| 23 |
def _normalize_img(img):
|
| 24 |
img = tf.cast(img, tf.float32)/255. # All images will be rescaled by 1./255
|
|
|
|
| 18 |
LABELS = [x.strip() for x in file.readlines()]
|
| 19 |
|
| 20 |
num_classes = 4000
|
| 21 |
+
IMG_SIZE = 224
|
| 22 |
|
| 23 |
def _normalize_img(img):
|
| 24 |
img = tf.cast(img, tf.float32)/255. # All images will be rescaled by 1./255
|