code: def __init__(self, batch_size, length):
      self.batch_size = batch_size
      self.length = length
  
imports: import numpy
  import torch
  from poutyne import Metric
label_desc: Use image node_id 1 to create a new SomeDataGeneratorUsingStopIteration object  with example: obj = SomeDataGeneratorUsingStopIteration(batch_size, length)