Hi,



 bolt25:

Is it because of ToTensor()?


As you have already figured it out How to input image in a model without normalizing it? 5.
But AFAIK, normalizing data especially in image processing always improves results. If you look at all pretrained models for different tasks, such as segmentation, classification, etc, all images always have been normalized, so I think the problem is from somewhere else.



 bolt25:

causing my model to learn nothing?


Usually normalization improves results, if your model already cannot learn, using unnormalized images also won’t help much.
Bests