Traceback (most recent call last):


 "transfer.py", line 71, in get_model

model.load_state_dict(sd)


 "/workspace/notebooks/sentiment-discovery/model/model.py", line 180, in load_state_dict

self.encoder.load_state_dict(state_dict['encoder']['encoder'], strict=strict)
KeyError: 'encoder'


Traceback (most recent call last):


 "/home/damien/mycroft-core/.venv/lib/python3.8/site-packages/websocket/_app.py", line 248, in run_forever

self.sock.connect(


 "/home/damien/mycroft-core/.venv/lib/python3.8/site-packages/websocket/_core.py", line 219, in connect

self.sock, addrs = connect(url, self.sock_opt, proxy_info(**options),


 "/home/damien/mycroft-core/.venv/lib/python3.8/site-packages/websocket/_http.py", line 120, in connect

sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)


 "/home/damien/mycroft-core/.venv/lib/python3.8/site-packages/websocket/_http.py", line 190, in _open_socket

raise err


 "/home/damien/mycroft-core/.venv/lib/python3.8/site-packages/websocket/_http.py", line 170, in _open_socket

sock.connect(address)

ConnectionRefusedError: [Errno 111] Connection refused

2020-02-28 17:23:21.208 | ERROR
| 126813 | mycroft.messagebus.client.client:on_error:88 | Exception closing websocket: ConnectionRefusedError(111, 'Connection refused')

2020-02-28 17:23:21.218 | WARNING
| 126813 | mycroft.messagebus.client.client:on_error:90 | Message Bus Client will reconnect in 60 seconds.

