Traceback (most recent call last):


 "generate.py", line 140, in <module>

main()


 "generate.py", line 92, in main

for sample_id, src_tokens, target_tokens, hypos in translations:


 "/home/kimi/Desktop/fairseq-py/fairseq/sequence_generator.py", line 77, in generate_batched_itr

maxlen=int(maxlen_a*srclen + maxlen_b))


 "/home/kimi/Desktop/fairseq-py/fairseq/sequence_generator.py", line 92, in generate

return self._generate(src_tokens, beam_size, maxlen)


 "/home/kimi/Desktop/fairseq-py/fairseq/sequence_generator.py", line 248, in _generate

out=(cand_scores, cand_indices))
TypeError: topk() got an unexpected keyword argument 'out'

Traceback (most recent call last):


 "/home/human1/hg/2018/link_store_keep/package/link_store_v2.py", line 61, in setOutputChrome

self.setOutput(self.plainTextEdit.toPlainText(), 'chrome', self.lineEdit.text(), self.lineEdit2.text())


 "/home/human1/hg/2018/link_store_keep/package/link_store_v2.py", line 153, in setOutput

self.build_mariadb(contents, db_config['user'], db_config['schema'], db_config['table'])


 "/home/human1/hg/2018/link_store_keep/package/link_store_v2.py", line 99, in build_mariadb

psswd = backup_mariadb.key_implement(dbase = dbase, usr = usr)


 "/home/human1/hg/2018/link_store_keep/package/backup_mariadb.py", line 68, in key_implement

if keyring.get_password(dbase, usr) == None:


 "/usr/lib/python3.9/site-packages/keyring/core.py", line 55, in get_password

return get_keyring().get_password(service_name, username)


 "/usr/lib/python3.9/site-packages/keyring/core.py", line 32, in get_keyring

init_backend()


 "/usr/lib/python3.9/site-packages/keyring/core.py", line 83, in init_backend

set_keyring(_detect_backend(limit))


 "/usr/lib/python3.9/site-packages/keyring/core.py", line 101, in _detect_backend

filter(limit, backend.get_all_keyring()),


 "/usr/lib/python3.9/site-packages/keyring/util/__init__.py", line 22, in wrapper

func.always_returns = func(*args, **kwargs)


 "/usr/lib/python3.9/site-packages/keyring/backend.py", line 214, in get_all_keyring

_load_plugins()


 "/usr/lib/python3.9/site-packages/keyring/backend.py", line 198, in _load_plugins

for ep in metadata.entry_points(group='keyring.backends'):
TypeError: entry_points() got an unexpected keyword argument 'group'
