code: def main():
      args = parse_args()
      root_path = args.root_path
  
      for split in ["train", "val", "test"]:
          convert_annotations(root_path, split)
          print(f"{split} split converted.")
  
imports: import argparse
  import os.path
  from mmocr.utils import dump_ocr_data
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types