Show image in matplotlib

Below code maybe not display the image except we add a line code following:  plt.show()
import matplotlib.pyplot as plt
input_image = caffe.io.load_image(IMAGE_FILE)
plt.imshow(input_image)

你可能感兴趣的:(Show image in matplotlib)