class_docstr: Adapt Caffe prototxt and weights into uniform format
class_docstr_tok: ["Adapt","Caffe","prototxt","and","weights","into","uniform","format"]
docstr:  Load prototxt and weights of Caffe, parsing them into uniform model
  
  Args:
      global_conf (:class:`~cntk.contrib.crosstalkcaffe.utils.globalconf.GlobalConf`):
          The global configurations
  
  Return:
      None
docstr_tok: ["Load","prototxt","and","weights","of","Caffe",",","parsing","them","into","uniform","model","Args",":","global_conf","(",":","class",":","`","~cntk.contrib.crosstalkcaffe.utils.globalconf.GlobalConf","`",")",":","The","global","configurations","Return",":","None"]
code: def load_model(self, global_conf):
      """
       Load prototxt and weights of Caffe, parsing them into uniform model
  
      Args:
          global_conf (:class:`~cntk.contrib.crosstalkcaffe.utils.globalconf.GlobalConf`):
              The global configurations
  
      Return:
          None
      """
      sys.stdout.write("Start loading model:\n")
      self._source_solver = global_conf.source_solver
  
      # loading the model
      if not os.path.exists(self._source_solver.model_path):
          sys.stderr.write(
              "Check the file name and path of input model path\n"
          )
          sys.exit()
      caffe_impl = caffeimpl.CaffeResolver()
      self._uni_model = cntkmodel.CntkModelDescription()
      self._raw_solver = caffe_impl.solver()
      self._raw_net = caffe_impl.net()
      self._caffe_pb2 = caffe_impl.caffepb
      with open(self._source_solver.model_path, "r") as net_file:
          text_format.Merge(net_file.read(), self._raw_net)
      self._uni_model.model_name = os.path.splitext(
          self._source_solver.model_path
      )[0]
  
      self._adapt_data_provider()
      self._adapt_net()
  
      # loading the weights
      if not os.path.exists(self._source_solver.weights_path):
          sys.stderr.write(
              "Check the file name and path of weights file\n"
          )
          sys.exit()
      else:
          self._adapt_parameter_data()
  
      sys.stdout.write("Finished model loading\n")
  
      return self._uni_model
  
imports: import sys
  import os
  import time
  import math
  from cntk.contrib.crosstalkcaffe.unimodel import cntkmodel
  from cntk.contrib.crosstalkcaffe.adapter import baseadapter
  from .None import caffeimpl
label_desc: Use image node_id 2 for calling the CaffeAdapter obj's underlying member method code with example usage: obj.load_model(global_conf) and returns: self