Traceback (most recent call last):


 "run.py", line 7, in <module>

bpe_codes='examples/translation/de-en/sentencepiece.bpe.model'


 "/home/ubuntu/fairseq/fairseq/models/fairseq_model.py", line 221, in from_pretrained

return hub_utils.GeneratorHubInterface(x["args"], x["task"], x["models"])


 "/home/ubuntu/fairseq/fairseq/hub_utils.py", line 112, in __init__

self.bpe = encoders.build_bpe(args)


 "/home/ubuntu/fairseq/fairseq/registry.py", line 41, in build_x

return builder(args, *extra_args, **extra_kwargs)


 "/home/ubuntu/fairseq/fairseq/data/encoders/sentencepiece_bpe.py", line 21, in __init__

vocab = file_utils.cached_path(args.sentencepiece_vocab)
AttributeError: 'Namespace' object has no attribute 'sentencepiece_vocab'

Traceback (most recent call last):


 "/home/temrix/pypy/lib-python/3/logging/__init__.py", line 986, in emit

msg = self.format(record)


 "/home/temrix/pypy/lib-python/3/logging/__init__.py", line 836, in format

return fmt.format(record)


 "/home/temrix/pypy/lib-python/3/logging/__init__.py", line 573, in format

record.message = record.getMessage()


 "/home/temrix/pypy/lib-python/3/logging/__init__.py", line 334, in getMessage

msg = str(self.msg)


 "/home/temrix/pypy/site-packages/beets/logging.py", line 86, in __str__

return self.msg.format(*args, **kwargs)
AttributeError: 'dict' object has no attribute 'format'
