Hi @chabeomsoo,
your problem seems to be related to a Keras model and matplotlib, so I think you could get way better help in their discussion boards, since you’ve landed in the PyTorch board. 
That being said, plt.imshow expects image data as [height, width, 3].