class_docstr: to log the loss after each batch
      
class_docstr_tok: ["to","log","the","loss","after","each","batch"]
code: def __init__(self, log_every=1, **kwargs):
      super(CustomTensorBoard, self).__init__(**kwargs)
      self.log_every = log_every
      self.counter = 0
  
file_path: ImageAI/imageai_tf_deprecated/Detection/Custom/callbacks.py
imports: from tensorflow.keras.callbacks import TensorBoard, ModelCheckpoint
  import tensorflow
  import numpy
  import warnings
label_desc: Use image node_id 1 to create a new CustomTensorBoard object from inherited base classes: TensorBoard with example: obj = CustomTensorBoard(log_every)