code: def main():
      from towhee.utils.thirdparty.dill_util import dill as pickle
      import sys
      import json
  
      if len(sys.argv) != 4:
          engine_log.error(
              "The args is invalid, it must has three parameters in [dag_file_path, mode_root_dir, config_file_path]"
          )
          sys.exit(-1)
  
      dag_file, model_root, config_file = (
          sys.argv[1],
          sys.argv[2],
          sys.argv[3],
      )
      with open(dag_file, "rb") as f_dag, open(
          config_file, "rb"
      ) as f_conf:
          dag_repr = pickle.load(f_dag)
          config = json.load(f_conf)
          if not Builder(dag_repr, model_root, config).build():
              sys.exit(-1)
      sys.exit(0)
  
file_path: towhee/towhee/serve/triton/pipeline_builder.py
imports: from typing import Dict
  from tqdm import tqdm
  from towhee.utils.log import engine_log
  from towhee.runtime import ops, AcceleratorConf
  from towhee.operator import NNOperator
  from towhee.serve.triton import constant
  from towhee.serve.triton.model_to_triton import ModelToTriton
  from towhee.serve.triton.pipe_to_triton import PipeToTriton
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types