docstr: Override this to customize the tqdm bar for validation.
docstr_tok: ["Override","this","to","customize","the","tqdm","bar","for","validation","."]
code: def init_validation_tqdm(self) -> Tqdm:
      """Override this to customize the tqdm bar for validation."""
      # The train progress bar doesn't exist in `trainer.validate()`
      has_main_bar = self.trainer.state.fn != "validate"
      return Tqdm(
          desc=self.validation_description,
          position=(2 * self.process_position + has_main_bar),
          disable=not self.enable_validation_bar
          or self.enable_train_bar_only,
          leave=not has_main_bar,
          dynamic_ncols=True,
          file=sys.stdout,
      )
  
file_path: darts/darts/utils/callbacks.py
imports: import sys
  from pytorch_lightning.callbacks import TQDMProgressBar
  from pytorch_lightning.callbacks.progress.tqdm_progress import Tqdm
label_desc: Use image node_id 5 for calling the TFMProgressBar obj's underlying member method code with example usage: obj.init_validation_tqdm() and returns: Tqdm