Traceback (most recent call last):


 "eval.py", line 71, in <module>

lang_stats = eval_utils.language_eval(opt.input_json, predictions, n_predictions, vars(opt), opt.split)


 "/home/andrewcao95/workspace/pycharm_ws/self-critical.pytorch/eval_utils.py", line 83, in language_eval

mean_perplexity = sum([_['perplexity'] for _ in preds_filt]) / len(preds_filt)
ZeroDivisionError: division by zero

Traceback (most recent call last):


 "C:\Users\Daniel\Anaconda3\envs\spyder4\lib\site-packages\requests\adapters.py", line 449, in send

timeout=timeout


 "C:\Users\Daniel\Anaconda3\envs\spyder4\lib\site-packages\urllib3\connectionpool.py", line 638, in urlopen

_stacktrace=sys.exc_info()[2])


 "C:\Users\Daniel\Anaconda3\envs\spyder4\lib\site-packages\urllib3\util\retry.py", line 399, in increment

raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=46624): Max retries exceeded with url: /clientapi/editor/event (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001DC9AC169E8>: Failed to establish a new connection: [WinError 10061] No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión'))
