code: def process(
      closeset_file, openset_file, merge_bg_others=False, n_proc=10
  ):
      closeset_lines = list_from_file(closeset_file)
  
      convert_func = partial(convert, merge_bg_others=merge_bg_others)
  
      openset_lines = mmengine.track_parallel_progress(
          convert_func, closeset_lines, nproc=n_proc
      )
  
      list_to_file(openset_file, openset_lines)
  
file_path: mmocr/tools/dataset_converters/kie/closeset_to_openset.py
imports: import argparse
  import json
  from functools import partial
  import mmengine
  from mmocr.utils import list_from_file, list_to_file
label_desc: Use image node_id 2 for calling a global function with example usage: process(closeset_file, openset_file, merge_bg_others, n_proc) without return types