Traceback (most recent call last):

 "pokecli.py", line 446, in <module>
main()

 "pokecli.py", line 71, in main
bot.tick()

 "/home/mrwbsn/Workspaces/PokemonGo-Bot/pokemongo_bot/__init__.py", line 92, in tick
if worker.work() == WorkerResult.RUNNING:

 "/home/mrwbsn/Workspaces/PokemonGo-Bot/pokemongo_bot/cell_workers/move_to_map_pokemon.py", line 161, in work
self.update_map_location()

 "/home/mrwbsn/Workspaces/PokemonGo-Bot/pokemongo_bot/cell_workers/move_to_map_pokemon.py", line 107, in update_map_location
return log.logger('Map location data was not valid', 'red')NameError: global name 'log' is not defined
Traceback (most recent call last):


 "/root/anaconda3/envs/fastreid/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap

fn(i, *args)


 "/home/wesine/data_8tb_3/sj/work/reid/fast-reid/fastreid/engine/launch.py", line 103, in _distributed_worker

main_func(*args)


 "/home/wesine/data_8tb_3/sj/work/reid/fast-reid/tools/train_net.py", line 42, in main

trainer = DefaultTrainer(cfg)


 "/home/wesine/data_8tb_3/sj/work/reid/fast-reid/fastreid/engine/defaults.py", line 214, in __init__

model = self.build_model(cfg)


 "/home/wesine/data_8tb_3/sj/work/reid/fast-reid/fastreid/engine/defaults.py", line 395, in build_model

model = build_model(cfg)


 "/home/wesine/data_8tb_3/sj/work/reid/fast-reid/fastreid/modeling/meta_arch/build.py", line 24, in build_model

model = META_ARCH_REGISTRY.get(meta_arch)(cfg, **kwargs)


 "/home/wesine/data_8tb_3/sj/work/reid/fast-reid/fastreid/modeling/meta_arch/baseline.py", line 26, in __init__

self.backbone = build_backbone(cfg)


 "/home/wesine/data_8tb_3/sj/work/reid/fast-reid/fastreid/modeling/backbones/build.py", line 26, in build_backbone

backbone = BACKBONE_REGISTRY.get(backbone_name)(cfg)


 "/home/wesine/data_8tb_3/sj/work/reid/fast-reid/fastreid/modeling/backbones/resnet.py", line 351, in build_resnet_backbone

state_dict = init_pretrained_weights(key)


 "/home/wesine/data_8tb_3/sj/work/reid/fast-reid/fastreid/modeling/backbones/resnet.py", line 282, in init_pretrained_weights

gdown.download(model_urls[key], cached_file, quiet=False)


 "/root/anaconda3/envs/fastreid/lib/python3.6/site-packages/gdown/download.py", line 110, in download

res = sess.get(url, stream=True)


 "/root/anaconda3/envs/fastreid/lib/python3.6/site-packages/requests/sessions.py", line 555, in get

return self.request('GET', url, **kwargs)


 "/root/anaconda3/envs/fastreid/lib/python3.6/site-packages/requests/sessions.py", line 542, in request

resp = self.send(prep, **send_kwargs)


 "/root/anaconda3/envs/fastreid/lib/python3.6/site-packages/requests/sessions.py", line 655, in send

r = adapter.send(request, **kwargs)


 "/root/anaconda3/envs/fastreid/lib/python3.6/site-packages/requests/adapters.py", line 498, in send

raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
