code: def __init__(self, x, y, batch_size=1, preprocess=None):
      self.x = x
      self.y = y
      self.batch_size = batch_size
      self.preprocess = preprocess
  
imports: import math
  import os
  from collections import Counter
  import numpy
  from keras.utils import Sequence, get_file
label_desc: Use image node_id 1 to create a new NERSequence object from inherited base classes: Sequence with example: obj = NERSequence(x, y, batch_size, preprocess)