def __init__(self, model_path, script_path):
     self.model_path = model_path
     self.script_path = script_path
     self.session = get_sagemaker_session()
     self.attach_model()
 def __init__(self, job_name):
     self.job_name = job_name
     self.session = get_sagemaker_session()
     self.attach_estimator()
Example #3
0
 def create_sagemaker_session(self):
     self.sagemaker_session = get_sagemaker_session()
Example #4
0
 def __init__(self, endpoint_name):
     self.endpoint_name = endpoint_name
     self.session = get_sagemaker_session()
     self.attach_predictor()