DonghunP:

img = images.numpy().transpose(1, 2, 0)


Hi,
For imshow, if the image is 3 channel / RGB,  the pixel values should be [0-1] float or [0-255] int. I feel that the problem is coming from data type of pixel values.
If it does not fix your issue, please print some values in img.
Thanks