Skip to content

Instantly share code, notes, and snippets.

@findtharun
Created June 7, 2020 07:51
Show Gist options
  • Save findtharun/6282d61deabe752987af212f5aeec7bf to your computer and use it in GitHub Desktop.
Save findtharun/6282d61deabe752987af212f5aeec7bf to your computer and use it in GitHub Desktop.
endpoint_name = sess.endpoint_from_job(
job_name=job_name,
initial_instance_count=1,
instance_type='ml.m4.xlarge',
deployment_image=image_name,
role=role
)
print ('endpoint name: {0}'.format(endpoint_name))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment