code: def __init__(self, image_list, transform=None):
      self.image_list = image_list
      self.transform = transform
      if self.transform is None:
          self.transform = T.ToTensor()
      self.dataset = self.load_dataset()
  
imports: import os
  import cv2
  import numpy
  from PIL import Image
  import paddle
  from paddle.io import Dataset
  from paddle.vision import transforms
  from qinspector.cvlib.workspace import register
label_desc: Use image node_id 1 to create a new MVTecDatasetSTFPM object from inherited base classes: Dataset with example: obj = MVTecDatasetSTFPM(image_list, transform)