2019-06-11T04:15:08:ERROR:localstack.services.generic_proxy: Error forwarding request: HTTPConnectionPool(host='127.0.0.1', port=4561): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f911c7a2f28>: Failed to establish a new connection: [Errno 111] Connection refused',)) Traceback (most recent call last):

 "/opt/code/localstack/.venv/lib/python3.6/site-packages/urllib3/connection.py", line 160, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)

 "/opt/code/localstack/.venv/lib/python3.6/site-packages/urllib3/util/connection.py", line 80, in create_connection
raise err

 "/opt/code/localstack/.venv/lib/python3.6/site-packages/urllib3/util/connection.py", line 70, in create_connection
sock.connect(sa)ConnectionRefusedError: [Errno 111] Connection refused
Traceback (most recent call last):


 "/home/user/backup/detectron/tools/train_net.py", line 156, in <module>

main()


 "/home/user/backup/detectron/tools/train_net.py", line 111, in main

checkpoints = detectron.utils.train.train_model()


 "/home/user/backup/detectron/detectron/utils/train.py", line 58, in train_model

setup_model_for_training(model, weights_file, output_dir)


 "/home/user/backup/detectron/detectron/utils/train.py", line 157, in setup_model_for_training

add_model_training_inputs(model)


 "/home/user/backup/detectron/detectron/utils/train.py", line 181, in add_model_training_inputs

cfg.TRAIN.DATASETS, cfg.TRAIN.PROPOSAL_FILES


 "/home/user/backup/detectron/detectron/datasets/roidb.py", line 71, in combined_roidb_for_training

_compute_and_log_stats(roidb)


 "/home/user/backup/detectron/detectron/datasets/roidb.py", line 180, in _compute_and_log_stats

classes = roidb[0]['dataset'].classes
IndexError: list index out of range
