code: def __init__(self, num_keep: int = 25, num_interpolations: int = 16):
      super().__init__(num_keep)
      self.num_interpolations = num_interpolations
  
file_path: carefree-learn/cflearn/callbacks/generator.py
imports: import os
  from cftool.cv import save_images
  from cftool.array import to_device
  from .general import ImageCallback
  from ..misc.toolkit import eval_context
  from ..schema import ITrainer
  from ..schema import TrainerCallback
  from ..constants import INPUT_KEY
  from ..constants import LABEL_KEY
  from ..models.schemas.cv import GeneratorMixin
label_desc: Use image node_id 1 to create a new GeneratorCallback object from inherited base classes: ImageCallback with example: obj = GeneratorCallback(num_keep, num_interpolations)