def __init__(self, bucket=None, s3_prefix=None, aws_region=None, s3_endpoint_url=None):
    self.aws_region = aws_region
    self.bucket = bucket
    self.s3_prefix = s3_prefix
    self.s3_endpoint_url = s3_endpoint_url
    self.config_key = os.path.normpath((s3_prefix + '/ip/ip.json'))
    self.hyperparameters_key = os.path.normpath((s3_prefix + '/ip/hyperparameters.json'))
    self.done_file_key = os.path.normpath((s3_prefix + '/ip/done'))
    self.model_checkpoints_prefix = (os.path.normpath((s3_prefix + '/model/')) + '/')
    LOG.info('Initializing SageS3Client...')
def __init__(self, bucket=None, s3_prefix=None, aws_region=None, s3_endpoint_url=None):
    self.aws_region = aws_region
    self.bucket = bucket
    self.s3_prefix = s3_prefix
    self.s3_endpoint_url = s3_endpoint_url
    self.config_key = os.path.normpath((s3_prefix + '/ip/ip.json'))
    self.hyperparameters_key = os.path.normpath((s3_prefix + '/ip/hyperparameters.json'))
    self.done_file_key = os.path.normpath((s3_prefix + '/ip/done'))
    self.model_checkpoints_prefix = (os.path.normpath((s3_prefix + '/model/')) + '/')
    LOG.info('Initializing SageS3Client...')