code: def __init__(
      self,
      frequent,
      rank,
      world_size,
      total_step,
      batch_size,
      writer=None,
  ):
      self.frequent: int = frequent
      self.rank: int = rank
      self.world_size: int = world_size
      self.time_start = time.time()
      self.total_step: int = total_step
      self.batch_size: int = batch_size
      self.writer = writer
  
      self.tic = time.time()
  
file_path: insightface/recognition/arcface_paddle/utils/logging.py
imports: import logging
  import os
  import sys
  import time
label_desc: Use image node_id 1 to create a new CallBackLogging object from inherited base classes: object with example: obj = CallBackLogging(frequent, rank, world_size, total_step, batch_size, writer)