class_docstr: TestCallback
code: def _init_log(self) -> Dict:
      logs = {}
      logs["on_batch_begin"] = 0
      logs["on_batch_end"] = 0
      logs["on_epoch_begin"] = 0
      logs["on_epoch_end"] = 0
      logs["on_train_batch_begin"] = 0
      logs["on_train_batch_end"] = 0
      logs["on_train_begin"] = 0
      logs["on_train_end"] = 0
      logs["on_eval_batch_begin"] = 0
      logs["on_eval_batch_end"] = 0
      logs["on_eval_begin"] = 0
      logs["on_eval_end"] = 0
      return logs
  
file_path: towhee/tests/unittests/trainer/test_callback.py
imports: import unittest
  from typing import Dict, Tuple
  from tqdm import tqdm
  from towhee.trainer.callback import TrainerControl, Callback, CallbackList, EarlyStoppingCallback, ModelCheckpointCallback, TensorBoardCallBack, PrintCallBack, ProgressBarCallBack
label_desc: Use image node_id 1 for calling the TestCallback obj's underlying member method code with example usage: obj._init_log() and returns: logs