code: def __init__(
      self, *, coloring=True, show_every_n_epochs="all"
  ) -> None:
      super().__init__()
      self.color_progress = ColorProgress(coloring=coloring)
  
      assert (
          isinstance(show_every_n_epochs, int)
          or show_every_n_epochs
          in EpochProgressionCallback.EVERY_N_EPOCHS_CHOICES
      )
      self.show_every_n_epochs = show_every_n_epochs
  
imports: import itertools
  from typing import Callable, Dict
  from poutyne.framework.callbacks.callbacks import Callback
  from poutyne.framework.callbacks.color_formatting import ColorProgress
label_desc: Use image node_id 1 to create a new EpochProgressionCallback object from inherited base classes: Callback with example: obj = EpochProgressionCallback()