Load single channel uint16 tiff file

Hi. I’m trying to follow the " Tutorial - Assemble the data on the pets dataset" to load single channel uint16 tiff file. I have done it before on PyTorch.

But fastai’s ToTensor() expect an PIL object and PIL are unable to handle uint16.