thanks a lot for the explanation @nielsr
can you please also comment on why FeatureExtractor has from_pretrained  class method
‘’‘def from_pretrained(cls, pretrained_model_name_or_path, **kwargs):’’’
is it a model, I don’t see
class AutoFeatureExtractor: subclassing nn.Module
and if it has to “apply some basic image preprocessing (typically resize the image to a particular size + normalize the color channels).”
it can be done as a vision.transforms script, so what is AutoFeatureExtractor
is it a model, which learns to do preprocessing, where can I read about its architecture