Hi,
I am trying to launch an endpoint locally, to do couple inferences from my dev notebook (without having to wait for instanciation time of actual endpoint or batch training). I am running the following code:
# get trained model from s3
trained_S2S = SM.model.Model(
image=seq2seq,
model_data=('s3://XXXXXXXXXXXXX/'
+ 'output/seq2seq-2018-07-30-16-55-12-521/output/model.tar.gz'),
role=role)
S2S = trained_S2S.deploy(1, instance_type='local')
I get the following error (several hundreds of lines repeated):
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa5c61eaac8>: Failed to establish a new connection: [Errno 111] Connection refused',)': /ping
RuntimeError: Giving up, endpoint: seq2seq-2018-08-01-14-18-06-555 didn't launch correctly