Traceback (most recent call last):


 "/home/lyq/condaEnv/ML/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap

fn(i, *args)


 "/home/lyq/condaEnv/ML/lib/python3.8/site-packages/detectron2/engine/launch.py", line 94, in _distributed_worker

main_func(*args)


 "/home/lyq/tools/detectron2/tools/train_net.py", line 149, in main

trainer = Trainer(cfg)


 "/home/lyq/condaEnv/ML/lib/python3.8/site-packages/detectron2/engine/defaults.py", line 284, in __init__

data_loader = self.build_train_loader(cfg)


 "/home/lyq/condaEnv/ML/lib/python3.8/site-packages/detectron2/engine/defaults.py", line 467, in build_train_loader

return build_detection_train_loader(cfg)


 "/home/lyq/condaEnv/ML/lib/python3.8/site-packages/detectron2/config/config.py", line 201, in wrapped

explicit_args = _get_args_from_config(from_config, *args, **kwargs)


 "/home/lyq/condaEnv/ML/lib/python3.8/site-packages/detectron2/config/config.py", line 236, in _get_args_from_config

ret = from_config_func(*args, **kwargs)


 "/home/lyq/condaEnv/ML/lib/python3.8/site-packages/detectron2/data/build.py", line 318, in _train_loader_from_config

sampler = TrainingSampler(len(dataset))


 "/home/lyq/condaEnv/ML/lib/python3.8/site-packages/detectron2/data/samplers/distributed_sampler.py", line 37, in __init__

seed = comm.shared_random_seed()


 "/home/lyq/condaEnv/ML/lib/python3.8/site-packages/detectron2/utils/comm.py", line 230, in shared_random_seed

all_ints = all_gather(ints)


 "/home/lyq/condaEnv/ML/lib/python3.8/site-packages/detectron2/utils/comm.py", line 154, in all_gather

group = _get_global_gloo_group()


 "/home/lyq/condaEnv/ML/lib/python3.8/site-packages/detectron2/utils/comm.py", line 89, in _get_global_gloo_group

return dist.new_group(backend="gloo")


 "/home/lyq/condaEnv/ML/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 2019, in new_group

pg = _new_process_group_helper(group_world_size,


 "/home/lyq/condaEnv/ML/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 504, in _new_process_group_helper

pg = ProcessGroupGloo(
RuntimeError: [enforce fail at /opt/conda/conda-bld/pytorch_1603729062494/work/third_party/gloo/gloo/transport/tcp/device.cc:208] ifa != nullptr. Unable to find interface for: [::1]

Traceback (most recent call last):


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner

self.run()


 "testtornado.rb", line 20, in run

application.listen(12345)


 "/usr/local/lib/python3.6/site-packages/tornado/web.py", line 1986, in listen

server.listen(port, address)


 "/usr/local/lib/python3.6/site-packages/tornado/tcpserver.py", line 145, in listen

self.add_sockets(sockets)


 "/usr/local/lib/python3.6/site-packages/tornado/tcpserver.py", line 159, in add_sockets

sock, self._handle_connection)


 "/usr/local/lib/python3.6/site-packages/tornado/netutil.py", line 219, in add_accept_handler

io_loop = IOLoop.current()


 "/usr/local/lib/python3.6/site-packages/tornado/ioloop.py", line 282, in current

loop = asyncio.get_event_loop()


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/events.py", line 694, in get_event_loop

return get_event_loop_policy().get_event_loop()


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/events.py", line 602, in get_event_loop

% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'Thread-1'.
