Traceback (most recent call last):


 "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap

self.run()


 "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run

self._target(*self._args, **self._kwargs)


 "/media/data/translation/nematus/nematus/translate.py", line 54, in translate_model

f_init, f_next = build_sampler(tparams, option, use_noise, trng, return_alignment=return_alignment)


 "/media/data/translation/nematus/nematus/nmt.py", line 359, in build_sampler

x, ctx = build_encoder(tparams, options, trng, use_noise, x_mask=None, sampling=True)


 "/media/data/translation/nematus/nematus/nmt.py", line 186, in build_encoder

emb = get_layer_constr('embedding')(tparams, x, suffix='', factors= options['factors'])
TypeError: param_init_embedding_layer() missing 2 required positional arguments: 'n_words' and 'dims'

Traceback (most recent call last):


 "/usr/lib/python3.8/wsgiref/handlers.py", line 138, in run

self.finish_response()


 "/usr/lib/python3.8/wsgiref/handlers.py", line 196, in finish_response

self.close()


 "/usr/local/lib/python3.8/dist-packages/django/core/servers/basehttp.py", line 114, in close

super().close()


 "/usr/lib/python3.8/wsgiref/simple_server.py", line 38, in close

SimpleHandler.close(self)


 "/usr/lib/python3.8/wsgiref/handlers.py", line 335, in close

self.result.close()


 "/usr/local/lib/python3.8/dist-packages/django/http/response.py", line 253, in close

signals.request_finished.send(sender=self._handler_class)


 "/usr/local/lib/python3.8/dist-packages/django/dispatch/dispatcher.py", line 173, in send

return [


 "/usr/local/lib/python3.8/dist-packages/django/dispatch/dispatcher.py", line 174, in <listcomp>

(receiver, receiver(signal=self, sender=sender, **named))


 "/usr/local/lib/python3.8/dist-packages/django/core/cache/__init__.py", line 121, in close_caches

cache.close()


 "/usr/local/lib/python3.8/dist-packages/django/core/cache/backends/memcached.py", line 98, in close

self._cache.disconnect_all()


 "/usr/local/lib/python3.8/dist-packages/django/core/cache/backends/memcached.py", line 171, in _cache

self._client = self._lib.Client(self._servers, **client_kwargs)


 "/usr/local/lib/python3.8/dist-packages/memcache.py", line 215, in __init__

self.set_servers(servers)


 "/usr/local/lib/python3.8/dist-packages/memcache.py", line 291, in set_servers

self.servers = [_Host(s, self.debug, dead_retry=self.dead_retry,
TypeError: 'NoneType' object is not iterable
