Sorry for the late reply 
Below is my code.
I tried using .numpy() but imgDataset[0][0] was not the right shape for image data.
import matplotlib.pyplot as plt
from PIL import Image

print(imgDataset[0][0].shape)
#torch.Size([1, 50, 50])
print(imgDataset[0][0].size)
#<built-in method size of Tensor object at 0x1c2cc82360>
print(imgDataset[0][0].dtype)
#torch.float32

trans = transforms.ToPILImage()
plt.imshow(trans(imgDataset[0][0]))
plt.show()