code: def run_conversion(model, output, unknownargs):
      if os.path.isdir(model):
          from_model = "savedmodel"
      else:
          from_model = MODEL_MAP[model.split(".")[-1]]
  
      to_model = MODEL_MAP[output.split(".")[-1]]
      func_to_call = "aup.dlconvert.%s_to_%s -i %s -o %s" % (
          from_model,
          to_model,
          model,
          output,
      )
      command = (
          sys.executable
          + " -m "
          + func_to_call
          + " "
          + " ".join(unknownargs)
      )
      logger.info("Running: " + command)
  
      proc = subprocess.Popen(
          [command],
          stdout=subprocess.PIPE,
          stderr=subprocess.STDOUT,
          shell=True,
      )
      (out, err) = proc.communicate()
      logger.debug("Conversion debug details:" + str(out))
      logger.debug("Conversion debug errors:" + str(err))
      success_code = proc.returncode
      if success_code == 0:
          logger.info("Conversion Success: " + output)
      else:
          raise Exception("Conversion Failed")
  
file_path: auptimizer/src/aup/dlconvert/__main__.py
imports: import argparse
  import os
  import sys
  import json
  import logging
  import coloredlogs
  import subprocess
  from ..utils import LOG_LEVEL
label_desc: Use image node_id 2 for calling a global function with example usage: run_conversion(model, output, unknownargs) without return types