Spaces:
Runtime error
Runtime error
Commit
·
bdf98c1
1
Parent(s):
43e2da7
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ Original file is located at
|
|
10 |
import zipfile
|
11 |
|
12 |
# Download zip file of pizza_steak images
|
13 |
-
|
14 |
|
15 |
# Unzip the downloaded file
|
16 |
zip_ref = zipfile.ZipFile("pizza_steak.zip", "r")
|
@@ -170,10 +170,10 @@ history_8 = model_8.fit(train_data_augmented_shuffled,
|
|
170 |
print(class_names)
|
171 |
|
172 |
# View our example image
|
173 |
-
wget https://github.com/mrdbourke/tensorflow-deep-learning/blob/ff0a93f68915e85bcb509a0c636d16f4567fbf8a/images/03-steak.jpeg
|
174 |
-
steak = mpimg.imread("03-steak.jpeg")
|
175 |
-
plt.imshow(steak)
|
176 |
-
plt.axis(False);
|
177 |
|
178 |
# Check the shape of our image
|
179 |
steak.shape
|
|
|
10 |
import zipfile
|
11 |
|
12 |
# Download zip file of pizza_steak images
|
13 |
+
zip_ref = "https://storage.googleapis.com/ztm_tf_course/food_vision/pizza_steak.zip "
|
14 |
|
15 |
# Unzip the downloaded file
|
16 |
zip_ref = zipfile.ZipFile("pizza_steak.zip", "r")
|
|
|
170 |
print(class_names)
|
171 |
|
172 |
# View our example image
|
173 |
+
# wget https://github.com/mrdbourke/tensorflow-deep-learning/blob/ff0a93f68915e85bcb509a0c636d16f4567fbf8a/images/03-steak.jpeg
|
174 |
+
# steak = mpimg.imread("03-steak.jpeg")
|
175 |
+
# plt.imshow(steak)
|
176 |
+
# plt.axis(False);
|
177 |
|
178 |
# Check the shape of our image
|
179 |
steak.shape
|