My images are 16 bits png, so the values go from [0, 65536]. Before ToTensor() transformation does PyTorch change these to 8 bits?
Exactly. The last Comment here is really the key. Write your own loader. This is a great Resource to get started 3