code: def tqdm_progress_callback(initial, total):
      with std_out_err_redirect_tqdm() as wrapped_stdout, tqdm(
          total=total,
          file=wrapped_stdout,
          postfix={"best loss": "?"},
          disable=False,
          dynamic_ncols=True,
          unit="trial",
          initial=initial,
      ) as pbar:
          yield pbar
  
imports: import contextlib
  from tqdm import tqdm
  from .std_out_err_redirect_tqdm import std_out_err_redirect_tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: tqdm_progress_callback(initial, total) without return types