class_docstr: Convert Caffe CNN into CNTK formats
docstr:  Convert a Caffe model to a CNTK model
  
  Args:
      conf_path (str): Path to the configuration file
  
  Returns:
      None
docstr_tok: ["Convert","a","Caffe","model","to","a","CNTK","model","Args",":","conf_path","(","str",")",":","Path","to","the","configuration","file","Returns",":","None"]
code: def from_model(conf_path):
      """
       Convert a Caffe model to a CNTK model
  
      Args:
          conf_path (str): Path to the configuration file
  
      Returns:
          None
      """
      conf = globalconf.load_conf(conf_path)
      try:
          adapter_impl = adapter.ADAPTER_DICT[conf.source_solver.source]
      except KeyError:
          sys.stderr.write("Platform type not implemented\n")
      cntk_model_desc = adapter_impl.load_model(conf)
  
      instance = cntkinstance.CntkApiInstance(
          cntk_model_desc, global_conf=conf
      )
      instance.export_model()
  
      # validate the network
      validator = validcore.Validator(
          global_conf=conf, functions=instance.get_functions()
      )
      if validator.val_network():
          sys.stdout.write(
              "Start validating model: %s\n"
              % conf.source_solver.model_path
          )
          validator.activate()
      else:
          # Since the validator needs the runtime caffe, it's an optional choice.
          sys.stdout.write(
              "Detect validator disable, ignore validating the network\n"
          )
  
file_path: CNTK/bindings/python/cntk/contrib/crosstalkcaffe/convert.py
imports: import sys
  from .None import adapter
  from .unimodel import cntkinstance
  from .utils import globalconf
  from .validation import validcore
label_desc: Use image node_id 1 for calling the CaffeConverter obj's underlying member method code with example usage: obj.from_model(conf_path) without return types