code: def get_test_config(cfg, args):
      test_config = cfg.test_config
      if args.custom_color:
          test_config["custom_color"] = args.custom_color
  
      return test_config
  
file_path: PaddleSeg/contrib/LaneSeg/predict.py
imports: import argparse
  import os
  import paddle
  from paddleseg.cvlibs import manager, Config
  from paddleseg.utils import get_sys_env, logger, get_image_list
  from core import predict
  from datasets import tusimple
label_desc: Use image node_id 2 for calling a global function with example usage: get_test_config(cfg, args) and returns: test_config