Traceback (most recent call last):


 "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/usr/lib/python3.6/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/opt/tljh/hub/lib/python3.6/site-packages/tljh/installer.py", line 455, in <module>

main()


 "/opt/tljh/hub/lib/python3.6/site-packages/tljh/installer.py", line 442, in main

ensure_jupyterhub_package(HUB_ENV_PREFIX)


 "/opt/tljh/hub/lib/python3.6/site-packages/tljh/installer.py", line 200, in ensure_jupyterhub_package

traefik.ensure_traefik_binary(prefix)


 "/opt/tljh/hub/lib/python3.6/site-packages/tljh/traefik.py", line 50, in ensure_traefik_binary

urlretrieve(traefik_url, traefik_bin)


 "/usr/lib/python3.6/urllib/request.py", line 277, in urlretrieve

block = fp.read(bs)


 "/usr/lib/python3.6/http/client.py", line 449, in read

n = self.readinto(b)


 "/usr/lib/python3.6/http/client.py", line 493, in readinto

n = self.fp.readinto(b)


 "/usr/lib/python3.6/socket.py", line 586, in readinto

return self._sock.recv_into(b)


 "/usr/lib/python3.6/ssl.py", line 1012, in recv_into

return self.read(nbytes, buffer)


 "/usr/lib/python3.6/ssl.py", line 874, in read

return self._sslobj.read(len, buffer)


 "/usr/lib/python3.6/ssl.py", line 631, in read

v = self._sslobj.read(len, buffer)
ConnectionResetError: [Errno 104] Connection reset by peer```
Traceback (most recent call last):


 "D:/project/test/textPaddle/finetuned_model_to_module/module.py", line 91, in <module>

predictions = ernie_tiny.predict(data=data)


 "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\paddlehub\module\module.py", line 72, in _wrapper

return func(*args, **kwargs)


 "D:\project\test\textPaddle\finetuned_model_to_module\module.py", line 82, in predict

accelerate_mode=accelerate_mode)


 "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\paddlehub\finetune\task\base_task.py", line 1024, in predict

return self._postprocessing(run_states)


 "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\paddlehub\finetune\task\classifier_task.py", line 156, in _postprocessing

results += [id2label[sample_infer] for sample_infer in batch_infer]


 "C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\paddlehub\finetune\task\classifier_task.py", line 156, in <listcomp>

results += [id2label[sample_infer] for sample_infer in batch_infer]
KeyError: 1
