Traceback (most recent call last):


 "/opt/venvs/matrix-synapse/lib/python3.6/site-packages/synapse/app/homeserver.py", line 429, in start

yield acme.start_listening()


 "/opt/venvs/matrix-synapse/lib/python3.6/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "/opt/venvs/matrix-synapse/lib/python3.6/site-packages/twisted/python/failure.py", line 491, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "/opt/venvs/matrix-synapse/lib/python3.6/site-packages/synapse/handlers/acme.py", line 122, in start_listening

yield self._issuer._ensure_registered()


 "/opt/venvs/matrix-synapse/lib/python3.6/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks

current.result = callback(current.result, *args, **kw)


 "/opt/venvs/matrix-synapse/lib/python3.6/site-packages/txacme/service.py", line 254, in _register

client.register(regr)


 "/opt/venvs/matrix-synapse/lib/python3.6/site-packages/txacme/client.py", line 157, in register

new_reg, uri=self.directory[new_reg]))


 "/opt/venvs/matrix-synapse/lib/python3.6/site-packages/acme/messages.py", line 235, in __getitem__

raise KeyError('Directory field not found')
KeyError: 'Directory field not found'

Traceback (most recent call last):


 "train.py", line 134, in <module>

main()


 "train.py", line 75, in main

model.load_state_dict(checkpoint['state_dict'])
KeyError: 'state_dict'
