The problem in accessing uint16 images is not a pytorch issue exactly, PIL imaging library doesnot have proper support for uint16 images. You can use OpenCV instead to read and view your images  .

  
      
      GitHub
  
  
    

amrit-das/pil_opencv_conversion 1

Short Program to demonstrate the conversion between PIL to OpenCV and Vice Versa - amrit-das/pil_opencv_conversion