dad
dad copied to clipboard
Enforce PIL+imagenet normalization image loading
It's pretty easy to assume our model takes images in [0,1] and load with some other function. Should raise error if images have not been imagenet normalized first, to make sure this doesn't happen accidentally.