shivalikasingh commited on
Commit
4bf8ce6
·
1 Parent(s): c4a7337

Update utils/predict.py

Browse files
Files changed (1) hide show
  1. 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,j in zip(range(num,num+3), range(3)):
65
  ax = plt.subplot(1, 3, j + 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,j in zip(range(num,num+9), range(3)):
65
  ax = plt.subplot(1, 3, j + 1)
66
  plt.imshow(images[i].numpy().astype("uint8"))
67
  output = np.argmax(slice_pred[i])