show_predictions() name changed to display_predicted_image_captions()
"cell_type": "markdown",
"metadata": {},
"source": [
- "`show_predictions()` is similar to the `show()` function in the `images` module in that it shows n_preds number of random images from the scored table. The user can choose both number of images to display and number of columns to display them in. With the images, the function also displays the top 5 objects detected in the image, the 5 ground truth captions, and the predicted caption. "
+ "`display_predicted_image_captions()` is similar to the `show()` function in the `images` module in that it shows n_preds number of random images from the scored table. The user can choose both number of images to display and number of columns to display them in. With the images, the function also displays the top 5 objects detected in the image, the 5 ground truth captions, and the predicted caption. "
]
},
{
],
"source": [
"image_path = 'imageCaptioning_images'\n",
- "show_predictions(conn,results,npreds=2,ncol=2,img_path=image_path)"
+ "display_predicted_image_captions(conn,results,npreds=2,ncol=2,img_path=image_path)"
]
}
],
