code: def check_param(self, model_path, param_path):
      if model_path is None or not osp.exists(model_path):
          raise Exception(f"模型路径{model_path}不存在。请指定正确的模型路径")
      if param_path is None or not osp.exists(param_path):
          raise Exception(f"权重路径{param_path}不存在。请指定正确的权重路径")
      return model_path, param_path
  
imports: import os.path
  from abc import abstractmethod
  import paddle.inference
label_desc: Use image node_id 2 for calling the EISegModel obj's underlying member method code with example usage: obj.check_param(model_path, param_path) and returns: model_path,  param_path