Although no one reply me,I set print() get error of stucks?
program stop on getitem()  cv2.resize() function,I use PIL read mask,The program continues to run down，but I don`t know why?
my dataset class
def __getitem__(self, index):
      .......................
     ow, oh = 800, 288
     mask = cv2.imread(self.masks[index], cv2.IMREAD_GRAYSCALE)
     mask = cv2.resize(mask, (ow, oh), cv2.INTER_NEAREST)
     ..................