class_docstr: 🤗 Constructor for the image classifier trainer
class_docstr_tok: ["\ud83e\udd17","Constructor","for","the","image","classifier","trainer"]
code: def __init__(self, feature_extractor, model, resolution=128):
      self.feature_extractor = feature_extractor
      self.model = model
      print("Model loaded!")
  
      self.resolution = resolution
  
imports: import torch
  from PIL import Image
  from transformers import ViTFeatureExtractor, ViTForImageClassification, pipeline
label_desc: Use image node_id 1 to create a new VisionClassifierInference object  with example: obj = VisionClassifierInference(feature_extractor, model, resolution)