Spaces:
Runtime error
Runtime error
Commit
·
b256351
1
Parent(s):
a9b208a
Update utils/predict.py
Browse files- utils/predict.py +1 -1
utils/predict.py
CHANGED
@@ -61,7 +61,7 @@ def predict_batch(image_path):
|
|
61 |
predictions_df = pd.DataFrame()
|
62 |
num = random.randint(0,50)
|
63 |
for images, labels in slice:
|
64 |
-
for i in range(
|
65 |
ax = plt.subplot(3, 3, i + 1)
|
66 |
plt.imshow(images[i].numpy().astype("uint8"))
|
67 |
output = np.argmax(slice_pred[i])
|
|
|
61 |
predictions_df = pd.DataFrame()
|
62 |
num = random.randint(0,50)
|
63 |
for images, labels in slice:
|
64 |
+
for i in range(6):
|
65 |
ax = plt.subplot(3, 3, i + 1)
|
66 |
plt.imshow(images[i].numpy().astype("uint8"))
|
67 |
output = np.argmax(slice_pred[i])
|